summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: dea36e96a63f32094fe0071b8be2998cec7daaa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## Process this file with automake to produce Makefile.in

SUBDIRS =  util mpi cipher tools g10
EXTRA_DIST = VERSION



tar:	clean
	cd ..; tar czvf  ~/bkup/g10-`date +%d%m`.tar.gz src


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