File: Makefile.am

package info (click to toggle)
libgcrypt 1.1.5-3.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,352 kB
  • ctags: 2,283
  • sloc: ansic: 21,870; sh: 7,552; asm: 4,611; makefile: 261
file content (27 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## Process this file with automake to produce Makefile.in

SUBDIRS = jnlib mpi cipher src tests
EXTRA_DIST = README-alpha BUGS autogen.sh
DISTCLEANFILES = gcrypt-defs.h 


# 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. 
dist-hook:
	@set -e; \
	 for file in `cd $(top_srcdir); \
	      find mpi scripts -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; \
	echo "$(VERSION)" > $(distdir)/VERSION