Fixed 'distfiles' target after the removal of 'BUILT_SOURCES'.
[udpgate.git] / Makefile-head.am
index 823618d..8026535 100644 (file)
@@ -42,22 +42,13 @@ INCLUDES+=-I$(top_srcdir)/intl
 # This target is used during ./autogen.pl POTFILES.in generation
 distfiles: $(DISTFILES)
        @if test -n "$(DISTFILES_PRINT)";then \
-               echo -n ":DISTFILES:"; \
-               for distfile in . $(DISTFILES);do \
-                       if test -n 1 \
-                                       -a "$$distfile" '!=' . \
-                                       -a "$$distfile" '!=' Makefile.am \
-                                       -a "$$distfile" '!=' Makefile.in \
-                                       ;then \
-                               fi; \
-                       done; \
-               echo; \
-               fi;
+               echo ":DISTFILES:"; \
+       fi;
        @for subdir in . $(SUBDIRS);do \
                if test "$$subdir" = . -o "$$subdir" = intl -o "$$subdir" = po -o "$$subdir" = m4;then :;else \
                        (cd "$$subdir" && $(MAKE) $(AM_MAKEFLAGS) distfiles) || exit 1; \
-                       fi; \
-               done
+               fi; \
+       done
 
 
 if HAVE_PERL