summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-07-04 11:40:19 +0200
committerWerner Koch <wk@gnupg.org>2003-07-04 11:40:19 +0200
commit89a3dbae85f4541db77c51a4ea768c60e66ec292 (patch)
treeacfbe8b7f9d4432b44869d497d19e062c57f1c75 /Makefile.am
parent* cipher.h (DBG_CIPHER,g10c_debug_mode): Removed. (diff)
downloadgnupg2-89a3dbae85f4541db77c51a4ea768c60e66ec292.tar.xz
gnupg2-89a3dbae85f4541db77c51a4ea768c60e66ec292.zip
Minor changes to make make dist work correctly.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 74e622051..9f5c443d5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,10 +44,22 @@ else
scd =
endif
-SUBDIRS = m4 intl jnlib common kbx ${gpg} ${sm} ${agent} ${scd} po doc tests
+SUBDIRS = m4 intl jnlib common kbx \
+ ${gpg} ${sm} ${agent} ${scd} po doc tests
+
dist-hook:
- @set -e; echo "$(VERSION)" > $(distdir)/VERSION
+ @set -e; \
+ for file in `cd $(top_srcdir); \
+ find scripts include -type f -name distfiles`; do \
+ dir=`dirname $$file` ; $(mkinstalldirs) $(distdir)/$$dir ; \
+ for i in distfiles `cat $(top_srcdir)/$$file` ; do \
+ ln $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i 2> /dev/null \
+ || cp -p $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i; \
+ done ; \
+ done
+ echo "$(VERSION)" > $(distdir)/VERSION
+