[stgt] [PATCH 1/2] Fix trailing whitespace
Florian Haas
florian.haas at linbit.com
Thu Oct 1 16:40:19 CEST 2009
Remove trailing whitespace in several files.
Signed-off-by: Florian Haas <florian.haas at linbit.com>
---
Makefile | 20 ++++++++++----------
conf/Makefile | 6 +++---
scripts/Makefile | 4 ++--
scripts/tgt-admin | 2 +-
usr/Makefile | 2 +-
5 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/Makefile b/Makefile
index 1a443ee..f47282f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# version-stamp is autogenerated from git describe and holds the
# VERSION variable (which may still be overridden on the make command
-# line).
+# line).
#
# The version-stamp file is also included in tarballs generated with
# "make tarball". The assumption is that we are building either from a
@@ -26,10 +26,10 @@ all: programs doc conf scripts
# Targets for the /usr/sbin utilities
.PHONY: programs install-programs clean-programs
-programs:
+programs:
$(MAKE) -C usr
-install-programs:
+install-programs:
$(MAKE) -C usr install
clean-programs:
@@ -37,10 +37,10 @@ clean-programs:
# Targets for man pages and other documentation
.PHONY: doc install-doc clean-doc
-doc:
+doc:
$(MAKE) -C doc
-install-doc:
+install-doc:
$(MAKE) -C doc install
clean-doc:
@@ -48,10 +48,10 @@ clean-doc:
# Targets for scripts
.PHONY: scripts install-scripts clean-scripts
-scripts:
+scripts:
$(MAKE) -C scripts
-install-scripts:
+install-scripts:
$(MAKE) -C scripts install
clean-scripts:
@@ -60,10 +60,10 @@ clean-scripts:
# Targets for configuration stubs
.PHONY: conf install-conf clean-conf
-conf:
+conf:
$(MAKE) -C conf
-install-conf:
+install-conf:
$(MAKE) -C conf install
clean-conf:
@@ -77,7 +77,7 @@ clean-conf:
# - x.y.z is the most recent tagged release
# - n is the number of commits since the most recent tagged release
# - hash is the abbreviated git hash of the current HEAD
-#
+#
# VERSION is inherited by the tarball name and RPM package version
# information, and this scheme makes sure that built packages should
# always install in the correct order.
diff --git a/conf/Makefile b/conf/Makefile
index 9d49488..dcfbcb3 100644
--- a/conf/Makefile
+++ b/conf/Makefile
@@ -1,8 +1,8 @@
-.PHONY:all
-all:
+.PHONY: all
+all:
.PHONY: install
-install:
+install:
install -d -m 755 $(DESTDIR)/etc/tgt
install -m 644 targets.conf $(DESTDIR)/etc/tgt
diff --git a/scripts/Makefile b/scripts/Makefile
index 1ee382c..f955129 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,7 +1,7 @@
SCRIPTS += tgt-setup-lun tgt-admin
-.PHONY:all
-all:
+.PHONY: all
+all:
.PHONY: install
install: $(SCRIPTS)
diff --git a/scripts/tgt-admin b/scripts/tgt-admin
index 7ebeb24..f6da37b 100755
--- a/scripts/tgt-admin
+++ b/scripts/tgt-admin
@@ -2,7 +2,7 @@
#
# This tools parses /etc/tgt/targets.conf file and configures tgt
#
-# You can find more info on http://wpkg.org/TGT-admin and download the
+# You can find more info on http://wpkg.org/TGT-admin and download the
# source code by pointing wget to http://wpkg.org/tgt-admin
#
# Author: Tomasz Chmielewski
diff --git a/usr/Makefile b/usr/Makefile
index 5ab2d95..231a088 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -88,7 +88,7 @@ tgtimg: tgtimg.o libssc.o libcrc32c.o
@$(CC) -MM $(CFLAGS) -MF $*.d -MT $*.o $*.c
.PHONY: install
-install: $(PROGRAMS)
+install: $(PROGRAMS)
install -d -m 755 $(DESTDIR)/usr/sbin
install -m 755 $(PROGRAMS) $(DESTDIR)/usr/sbin
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list