1997-11-18 15:06:00 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
1999-09-17 12:58:20 +02:00
|
|
|
if CROSS_COMPILING
|
|
|
|
checks =
|
|
|
|
else
|
|
|
|
checks = checks
|
|
|
|
endif
|
|
|
|
|
2000-08-18 14:23:17 +02:00
|
|
|
if COMPILE_AGENT
|
|
|
|
agent = agent
|
|
|
|
else
|
|
|
|
agent =
|
|
|
|
endif
|
|
|
|
|
2000-12-19 19:28:36 +01:00
|
|
|
SUBDIRS = intl zlib jnlib util g10 po tools \
|
2000-08-18 14:23:17 +02:00
|
|
|
${agent} doc ${checks}
|
2000-10-10 18:25:12 +02:00
|
|
|
EXTRA_DIST = README-alpha PROJECTS BUGS
|
1999-07-26 09:44:46 +02:00
|
|
|
# gettext never gets it right, so we take here care of deleting the
|
|
|
|
# symlink. my_clean_gcrypt is just a kludge until we can include
|
|
|
|
# libgcrypt.
|
2000-12-19 19:28:36 +01:00
|
|
|
DISTCLEANFILES = gnupg-defs.h intl/libintl.h
|
1997-11-18 15:06:00 +01:00
|
|
|
|
2000-10-10 18:25:12 +02:00
|
|
|
|
|
|
|
# Add all the files listed in "distfiles" files to the distribution,
|
|
|
|
# apply version number s to some files and create a VERSION file which
|
|
|
|
# we need for the Prereq: patch file trick.
|
1997-12-23 18:30:18 +01:00
|
|
|
dist-hook:
|
|
|
|
@set -e; \
|
1998-10-07 15:30:43 +02:00
|
|
|
for file in `cd $(top_srcdir); find . -type f -name distfiles`; do \
|
1997-12-23 18:30:18 +01:00
|
|
|
dir=`dirname $$file` ; $(mkinstalldirs) $(distdir)/$$dir ; \
|
1998-10-07 15:30:43 +02:00
|
|
|
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; \
|
1997-12-23 18:30:18 +01:00
|
|
|
done ; \
|
|
|
|
done
|
1998-09-18 17:24:53 +02:00
|
|
|
@set -e; \
|
1999-01-13 12:51:47 +01:00
|
|
|
sed -e 's/@pkg_version@/$(VERSION)/g' \
|
|
|
|
$(top_srcdir)/scripts/gnupg.spec.in \
|
2000-10-10 18:25:12 +02:00
|
|
|
> $(distdir)/scripts/gnupg.spec ; \
|
|
|
|
echo "$(VERSION)" > $(distdir)/VERSION
|
1997-11-18 15:06:00 +01:00
|
|
|
|
1998-02-18 19:52:59 +01:00
|
|
|
|
1998-10-17 16:47:14 +02:00
|
|
|
|