Updated for 2.0.2.
[gpg4win.git] / Makefile.am
index bbe52c2..6f00faa 100644 (file)
@@ -35,6 +35,7 @@ EXTRA_DIST = autogen.sh README.SVN ONEWS \
         patches/gpgme-1.2.0/01-w32-io-threads.patch \
        patches/gpgme-1.2.0/02-inv-signer.patch \
        patches/gpgme-1.2.0/03-w32-socket.patch \
+        patches/gpgme-1.2.0/04-check-agent.patch \
        patches/winpt/01-gpg-path.patch \
        patches/gpgex/01-no-checksums.patch \
        patches/gpgex-0.9.5/01-default-no-suffix.patch \
@@ -56,6 +57,7 @@ EXTRA_DIST = autogen.sh README.SVN ONEWS \
        patches/gnupg2-2.0.12/10-inv-sgnr.patch \
        patches/gnupg2-2.0.12/11-photoid-sk.patch \
        patches/gnupg2-2.0.14/01-encode-s2k.patch \
+       patches/gnupg2-2.0.14/02-scd-no-service.patch \
        patches/dirmngr-1.0.3/01-ldaphttp.patch \
        patches/gpgol-0.9.91/01-gpgme.patch \
         patches/gpa-0.9.0/01-title-prop.patch \
@@ -66,3 +68,20 @@ EXTRA_DIST = autogen.sh README.SVN ONEWS \
 copy-news:
        cp NEWS doc/website/NEWS.last
 
+
+copy-release: gpg4win-$(VERSION).tar.bz2 src/gpg4win-$(VERSION).exe
+       @echo Copying $(VERSION) to $(RELEASEHOST) >&2
+       @set -e;\
+       if ssh "$$(echo $(RELEASEHOST)|cut -d: -f -1)" \
+        test -f "$$(echo $(RELEASEHOST)/gpg4win-$(VERSION).exe|cut -d: -f2-)";\
+       then echo "This release has already been copied to the server" >&2 ;\
+       else scp gpg4win-$(VERSION).tar.bz2 \
+                src/gpg4win-$(VERSION).exe \
+                src/gpg4win-light-$(VERSION).exe \
+                src/gpg4win-src-$(VERSION).exe  $(RELEASEHOST)/ ;\
+            for f in en de ; do \
+              echo scp src/README.$$f.txt \
+                    $(RELEASEHOST)/README-$(VERSION).$$f.txt; \
+            done;\
+       fi
+