Fixed 'make distfiles DISTFILES_PRINT=1' for POTFILES.in generation.
authorshort <>
Sat, 5 Jun 2004 19:57:26 +0000 (19:57 +0000)
committershort <>
Sat, 5 Jun 2004 19:57:26 +0000 (19:57 +0000)
Makefile-head.am

index 8026535..f259e30 100644 (file)
@@ -42,7 +42,17 @@ INCLUDES+=-I$(top_srcdir)/intl
 # This target is used during ./autogen.pl POTFILES.in generation
 distfiles: $(DISTFILES)
        @if test -n "$(DISTFILES_PRINT)";then \
-               echo ":DISTFILES:"; \
+               echo -n ":DISTFILES:"; \
+               for distfile in . $(DISTFILES);do \
+                       if test -n 1 \
+                                       -a "$$distfile" '!=' . \
+                                       -a "$$distfile" '!=' Makefile.am \
+                                       -a "$$distfile" '!=' Makefile.in \
+                                       ;then \
+                               echo -n " $(subdir)/$$distfile"; \
+                               fi; \
+                       done; \
+               echo; \
        fi;
        @for subdir in . $(SUBDIRS);do \
                if test "$$subdir" = . -o "$$subdir" = intl -o "$$subdir" = po -o "$$subdir" = m4;then :;else \