mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
31 lines
834 B
Makefile
31 lines
834 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
if CROSS_COMPILING
|
|
checks =
|
|
else
|
|
checks = checks
|
|
endif
|
|
|
|
SUBDIRS = intl zlib util mpi cipher tools g10 po doc ${checks}
|
|
EXTRA_DIST = VERSION PROJECTS BUGS
|
|
# gettext never gets it right, so we take here care of deleting the
|
|
# symlink.
|
|
DISTCLEANFILES = g10defs.h intl/libintl.h
|
|
|
|
dist-hook:
|
|
@set -e; \
|
|
for file in `cd $(top_srcdir); find . -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
|
|
@set -e; \
|
|
sed -e 's/@pkg_version@/$(VERSION)/g' \
|
|
$(top_srcdir)/scripts/gnupg.spec.in \
|
|
> $(distdir)/scripts/gnupg.spec
|
|
|
|
|
|
|