Add target "sign" to sign generated tarballs with gpg.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2517 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-04-22 15:04:50 +00:00
parent 1cf8daa1dc
commit 446f203b4f
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,8 @@
Open File dialogs in the preferences dialog. Open File dialogs in the preferences dialog.
* plugins/autosave.c, src/search.c, src/document.c: * plugins/autosave.c, src/search.c, src/document.c:
Make use of ngettext() for strings with plural forms. Make use of ngettext() for strings with plural forms.
* Makefile.am:
Add target "sign" to sign generated tarballs with gpg.
2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -80,9 +80,15 @@ dist-hook:
BZIP2_ENV =--best BZIP2_ENV =--best
dist-bzip2: distdir dist-bzip2: distdir
BZIP2=$(BZIP2_ENV) $(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir) BZIP2=$(BZIP2_ENV) $(AMTAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
-rm -rf $(distdir) -rm -rf $(distdir)
sign:
if test -f $(PACKAGE)-$(VERSION).tar.gz; then \
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.gz; fi
if test -f $(PACKAGE)-$(VERSION).tar.bz2; then \
gpg --detach-sign --digest-algo SHA512 $(PACKAGE)-$(VERSION).tar.bz2; fi
deb: deb:
dpkg-buildpackage -rfakeroot dpkg-buildpackage -rfakeroot