From: short <> Date: Sat, 5 Jun 2004 19:57:26 +0000 (+0000) Subject: Fixed 'make distfiles DISTFILES_PRINT=1' for POTFILES.in generation. X-Git-Tag: udpgate-1_0~9 X-Git-Url: https://git.jankratochvil.net/?p=udpgate.git;a=commitdiff_plain;h=950000c8fd115d7d1017c7523cbbe4c2939e6f6e Fixed 'make distfiles DISTFILES_PRINT=1' for POTFILES.in generation. --- diff --git a/Makefile-head.am b/Makefile-head.am index 8026535..f259e30 100644 --- a/Makefile-head.am +++ b/Makefile-head.am @@ -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 \