automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unneeded spaces in automake rules?


From: Lars J. Aas
Subject: unneeded spaces in automake rules?
Date: Wed, 7 Feb 2001 17:26:30 +0100
User-agent: Mutt/1.2.5i

Any point in these spaces?

  Lars J

Index: data.am
===================================================================
RCS file: /cvs/automake/automake/data.am,v
retrieving revision 1.26
diff -u -r1.26 data.am
--- data.am     2000/10/16 09:01:36     1.26
+++ data.am     2001/02/07 16:23:17
@@ -21,7 +21,7 @@
 ## Funny invocation because Makefile variable can be empty, leading to
 ## a syntax error in sh.
        @list='$(@address@hidden)'; for p in $$list; do \
-         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 ## If the _DATA variable has an entry like foo/bar, install it as
 ## $(destdir)/bar, not $(destdir)/foo/bar.  The user can always make a
 ## new dir variable for the latter case.
Index: header.am
===================================================================
RCS file: /cvs/automake/automake/header.am,v
retrieving revision 1.26
diff -u -r1.26 header.am
--- header.am   2001/02/04 04:43:11     1.26
+++ header.am   2001/02/07 16:23:17
@@ -22,7 +22,7 @@
 ## a syntax error in sh.
        @list='$(@address@hidden)'; for p in $$list; do \
 ## A header file can be in the source directory or the build directory.
-         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 BASE     f="`echo $$p | sed -e 's|^.*/||'`"; \
 NOBASE   f="$$p"; \
          echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(@address@hidden)/$$f"; \
Index: lisp.am
===================================================================
RCS file: /cvs/automake/automake/lisp.am,v
retrieving revision 1.17
diff -u -r1.17 lisp.am
--- lisp.am     2000/10/16 09:01:36     1.17
+++ lisp.am     2001/02/07 16:23:17
@@ -22,7 +22,7 @@
 ## a syntax error in sh.
        @list='$(@address@hidden)'; for p in $$list; do \
 ## A lisp file can be in the source directory or the build directory.
-         if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 BASE     f="`echo $$p | sed -e 's|^.*/||'`"; \
 NOBASE   f="$$p"; \
          echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(@address@hidden)/$$f"; \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]