auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/Makefile.in,v


From: Reiner Steib
Subject: [AUCTeX-diffs] Changes to auctex/Makefile.in,v
Date: Sun, 04 Jun 2006 20:17:16 +0000

CVSROOT:        /sources/auctex
Module name:    auctex
Changes by:     Reiner Steib <rsteib>   06/06/04 20:17:16

Index: Makefile.in
===================================================================
RCS file: /sources/auctex/auctex/Makefile.in,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -b -r1.133 -r1.134
--- Makefile.in 4 Jun 2006 20:06:31 -0000       1.133
+++ Makefile.in 4 Jun 2006 20:17:16 -0000       1.134
@@ -315,16 +315,19 @@
 
 full-release:
        rm -f $(FTPDIR)/*.{directive,asc,sig}
-# RPM generation currently not working.
-#      su -c "rpmbuild -ta --sign $(FTPDIR)/auctex-$(TAG).tar.gz" -
-#      cp $(RPMROOT)/{RPMS/noarch/auctex-emacs,SRPMS/auctex}-$(TAG)[.-]* 
$(FTPDIR)
+       if [ "x$$GPG_AGENT_INFO" = "x" ]; then \
+         read -sp "Enter pass phrase: " phrase ; \
+         gpg_opt="--passphrase-fd 0"; \
+       else \
+         gpg_opt=""; phrase=""; \
+       fi; \
        read -sp "Enter pass phrase: " phrase ; \
        for i in $(FTPDIR)/*; do \
-          echo "$$phrase" | gpg --passphrase-fd 0 --detach-sign $$i ; \
+          echo "$$phrase" | gpg --detach-sign $$gpg_opt $$i ; \
           case $$i in *-$(TAG)*) echo "directory: auctex" >$$i.directive;; \
              *) echo "directory: auctex/$(TAG)-extra" >$$i.directive ;; \
           esac ; \
-          echo "$$phrase" | gpg --passphrase-fd 0 --clearsign $$i.directive ; \
+          echo "$$phrase" | gpg $$gpg_opt --clearsign $$i.directive ; \
        done
        rm $(FTPDIR)/*.directive
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]