gnupg/Makefile.am

37 lines
1.1 KiB
Makefile
Raw Normal View History

1997-11-18 15:06:00 +01:00
## Process this file with automake to produce Makefile.in
1998-02-26 17:56:31 +01:00
SUBDIRS = intl po zlib util mpi cipher tools g10 doc checks
1998-09-28 21:25:31 +02:00
EXTRA_DIST = VERSION PROJECTS
1997-11-18 15:06:00 +01:00
1998-10-12 22:16:38 +02:00
all-am: g10defs.h
all-recursive-am: g10defs.h
g10defs.h : config.h
@( set -e; \
echo "/* Generated automatically by Makefile */" ; \
echo "#ifdef __MINGW32__"; \
echo "#define G10_LOCALEDIR \"c:/lib/gnupg/locale\""; \
echo "#define GNUPG_LIBDIR \"c:/lib/gnupg\""; \
echo "#else";\
echo "#define G10_LOCALEDIR \"$(prefix)/$(DATADIRNAME)/locale\""; \
echo "#define GNUPG_LIBDIR \"$(libdir)/gnupg\""; \
echo "#endif";\
) >g10defs.h
1997-11-18 15:06:00 +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 \
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; \
done ; \
done
1998-09-18 17:24:53 +02:00
@set -e; \
1998-10-07 15:30:43 +02:00
sed -e 's/@pkg_version@/$(VERSION)/g' $(top_srcdir)/scripts/gnupg.spec \
1998-09-18 17:24:53 +02:00
> $(distdir)/scripts/gnupg-$(VERSION).spec
1997-11-18 15:06:00 +01:00
1998-02-18 19:52:59 +01:00