~ubuntu-branches/ubuntu/wily/signing-party/wily

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2006-10-29 21:02:56 UTC
  • mfrom: (0.2.2 upstream) (1.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20061029210256-bshdok063f9g8wdo
* caff:
  + Fix a bug with checking if we have exactly one or more keys that failed
    downloading.
  + Mention in manpage that keyserver-options is a useful setting in
    .caff/gnupghome/gpg.conf (Closes: #392811).
  + q-p-encode From: header (Closes: #366745).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist keylookup
 
2
VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/')
 
3
DEBVERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: (.*)/')
 
4
TGZ=../signing-party_$(VERSION).orig.tar.gz
 
5
TGZ_DIR=signing-party-$(VERSION)
 
6
 
 
7
all:
 
8
        for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir || exit 1 ; fi ; done
 
9
 
 
10
clean:
 
11
        for dir in $(DIRS) ; do if [ -f $$dir/Makefile ] ; then $(MAKE) -C $$dir clean || exit 1 ; fi ; done
 
12
 
 
13
dist:
 
14
        [ ! -f $(TGZ) ]
 
15
        mkdir $(TGZ_DIR)
 
16
        for dir in $(DIRS) ; do cp -a $$dir $(TGZ_DIR); done
 
17
        cp -a README TODO Makefile $(TGZ_DIR)
 
18
        tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR)
 
19
        rm -rf $(TGZ_DIR)
 
20
 
 
21
tag-release:
 
22
        if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION) >/dev/null 2>&1; then \
 
23
                echo "Already exists." >&2; exit 1; \
 
24
        fi
 
25
        svn cp -m 'tagging release $(VERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION)
 
26
 
 
27
tag-debian-version:
 
28
        if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION) >/dev/null 2>&1; then \
 
29
                echo "Already exists." >&2; exit 1; \
 
30
        fi
 
31
        svn cp -m 'tagging debian version $(DEBVERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION)