mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
21 lines
605 B
Makefile
21 lines
605 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = intl po zlib util mpi cipher tools g10 doc checks
|
|
EXTRA_DIST = VERSION
|
|
|
|
|
|
dist-hook:
|
|
@set -e; \
|
|
for file in `find $(srcdir) -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; \
|
|
done ; \
|
|
done
|
|
@set -e; \
|
|
sed -e 's/@pkg_version@/$(VERSION)/g' $(srcdir)/scripts/gnupg.spec \
|
|
> $(distdir)/scripts/gnupg-$(VERSION).spec
|
|
|
|
|