From 950000c8fd115d7d1017c7523cbbe4c2939e6f6e Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 5 Jun 2004 19:57:26 +0000 Subject: [PATCH] Fixed 'make distfiles DISTFILES_PRINT=1' for POTFILES.in generation. --- Makefile-head.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 \ -- 1.8.3.1