SF.net SVN: geany: [2517] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Apr 22 15:04:50 UTC 2008


Revision: 2517
          http://geany.svn.sourceforge.net/geany/?rev=2517&view=rev
Author:   eht16
Date:     2008-04-22 08:04:50 -0700 (Tue, 22 Apr 2008)

Log Message:
-----------
Add target "sign" to sign generated tarballs with gpg.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/Makefile.am

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-04-22 14:53:20 UTC (rev 2516)
+++ trunk/ChangeLog	2008-04-22 15:04:50 UTC (rev 2517)
@@ -7,6 +7,8 @@
    Open File dialogs in the preferences dialog.
  * plugins/autosave.c, src/search.c, src/document.c:
    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>

Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2008-04-22 14:53:20 UTC (rev 2516)
+++ trunk/Makefile.am	2008-04-22 15:04:50 UTC (rev 2517)
@@ -80,9 +80,15 @@
 BZIP2_ENV =--best
 
 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)
 
+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:
 	dpkg-buildpackage -rfakeroot
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list