summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-07 15:30:43 +0200
committerWerner Koch <wk@gnupg.org>1998-10-07 15:30:43 +0200
commit786a2870dfc48e9676476a5604a5115f4fe8c5e5 (patch)
treeb9ba3bb28e0c65e129994b4526a5c98519c756e0 /Makefile.am
parentwindoze version works again (diff)
downloadgnupg2-0-4-1.tar.xz
gnupg2-0-4-1.zip
a new releaseV0-4-1
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 43e2a28ce..138f0d372 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,15 +6,15 @@ EXTRA_DIST = VERSION PROJECTS
dist-hook:
@set -e; \
- for file in `find $(srcdir) -type f -name distfiles`; do \
+ for file in `cd $(top_srcdir); find . -type f -name distfiles`; do \
dir=`dirname $$file` ; $(mkinstalldirs) $(distdir)/$$dir ; \
- for i in distfiles `cat $$file` ; do \
- ln $(srcdir)/$$dir/$$i $(distdir)/$$dir/$$i 2> /dev/null \
- || cp -p $(srcdir)/$$dir/$$i $(distdir)/$$dir/$$i; \
+ 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
@set -e; \
- sed -e 's/@pkg_version@/$(VERSION)/g' $(srcdir)/scripts/gnupg.spec \
+ sed -e 's/@pkg_version@/$(VERSION)/g' $(top_srcdir)/scripts/gnupg.spec \
> $(distdir)/scripts/gnupg-$(VERSION).spec