1 DIRS
=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist
2 VERSION
=$(shell dpkg-parsechangelog
2>&1 | perl
-ne
'print $$1 if /^Version: ([^-]*)/')
3 TGZ
=..
/signing-party_
$(VERSION
).orig.
tar.gz
4 TGZ_DIR
=signing-party-
$(VERSION
)
7 for
dir in
$(DIRS
) ; do if
[ -f
$$dir/Makefile
] ; then
$(MAKE
) -C
$$dir || exit
1 ; fi
; done
10 for
dir in
$(DIRS
) ; do if
[ -f
$$dir/Makefile
] ; then
$(MAKE
) -C
$$dir clean || exit
1 ; fi
; done
15 for
dir in
$(DIRS
) ; do cp
-a
$$dir $(TGZ_DIR
); done
16 cp
-a README TODO Makefile
$(TGZ_DIR
)
17 tar cvz
-f
$(TGZ
) --exclude .svn
$(TGZ_DIR
)