Updated for 2.0.2.
[gpg4win.git] / Makefile.am
index 173115e..6f00faa 100644 (file)
@@ -14,8 +14,7 @@
 # GNU General Public License for more details.
 # 
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
 ACLOCAL_AMFLAGS = -I m4
 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
@@ -23,47 +22,66 @@ DISTCHECK_CONFIGURE_FLAGS = --host=i586-mingw32msvc --disable-pkg-man_advanced_e
 
 SUBDIRS = po packages include doc src
 
-EXTRA_DIST = autogen.sh README.SVN \
+EXTRA_DIST = autogen.sh README.SVN ONEWS \
         patches/pthreads-w32-2-7-0-release/01-make.patch \
-        patches/glib-2.9.2-wk1/01-giowin32.patch \
-        patches/glib-2.9.2-wk1/02-gspawn-w32.patch \
-        patches/glib-2.9.2-wk1/03-gspawn-w32-fixup.patch \
-        patches/glib-2.9.2-wk1/04-gspawn-w32-buffering.patch \
         patches/glib-2.12.12/01-giowin32.patch \
         patches/glib-2.12.12/02-gspawn-w32.patch \
         patches/glib-2.12.12/03-gspawn-w32-fixup.patch \
-       patches/sylpheed-claws-2.4.0/01-w32-logo.patch \
-       patches/sylpheed-claws-2.4.0/02-w32-icon.patch \
-        patches/sylpheed-claws-2.4.0/03-plugins-symbols.patch \
-        patches/sylpheed-claws-2.4.0/04-font-prefs.patch \
-        patches/sylpheed-claws-2.4.0/05-textviewer.patch \
-       patches/sylpheed-claws-2.4.0/99-auto.patch \
-       patches/claws-mail-2.10.0/01-w32-logo.patch \
-       patches/claws-mail-2.10.0/02-w32-icon.patch \
-       patches/claws-mail-2.10.0/03-w32-port.patch \
-       patches/claws-mail-2.10.0/04-smime-plugin.patch \
-       patches/claws-mail-2.10.0/99-auto.patch \
-       patches/claws-mail-3.0.0-rc2/01-w32-logo.patch \
-       patches/claws-mail-3.0.0-rc2/02-w32-icon.patch \
-       patches/claws-mail-3.0.0-rc2/03-smime-plugin.patch \
-       patches/claws-mail-3.0.0-rc2/04-cvs116.patch \
-       patches/claws-mail-3.0.0-rc2/99-auto.patch \
-       patches/claws-mail-3.0.2/01-w32-logo.patch \
-       patches/claws-mail-3.0.2/02-w32-icon.patch \
-       patches/claws-mail-3.0.2/03-smime-plugin.patch \
-       patches/claws-mail-3.0.2/04-gettimeofday.patch \
-       patches/claws-mail-3.0.2/99-auto.patch \
-       patches/claws-mail-3.1.0cvs70/01-w32-logo.patch \
-       patches/claws-mail-3.1.0cvs70/02-w32-icon.patch \
-       patches/claws-mail-3.1.0cvs70/03-smime-plugin.patch \
-       patches/claws-mail-3.1.0cvs70/99-auto.patch \
+        patches/glib-2.20.0/01-socket.patch \
        patches/gpgme/01-gpg2.patch \
-       patches/gnupg2-2.0.8/01-agent-call-pinentry.patch \
-       patches/gnupg2-2.0.8/02-qualified.patch \
-       patches/gnupg2-2.0.8/03-create-keyring.patch \
-        patches/gnupg2-2.0.8/04-import-export-spawn.patch \
-       patches/gpgol-0.9.91/01-gpgme.patch
+       patches/gpgme-1.1.7/01-registry.patch \
+       patches/gpgme-1.1.7/02-extern-umlaute.patch \
+       patches/gpgme-1.1.7/03-error-parsing.patch \
+        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 \
+       patches/gnupg2/01-version.patch.in \
+       patches/gnupg2-2.0.9/01-close-all-handle.patch \
+       patches/gnupg2-2.0.9/02-de.po-fix.patch \
+       patches/gnupg2-2.0.9/03-i18n+etc.patch \
+       patches/gnupg2-2.0.9/04-ks-w32init.patch \
+       patches/gnupg2-2.0.9/05-w32-http.patch \
+       patches/gnupg2-2.0.12/01-scd-pw2.patch \
+       patches/gnupg2-2.0.12/02-pth-estream.patch \
+       patches/gnupg2-2.0.12/03-opgp-writekey.patch \
+       patches/gnupg2-2.0.12/04-hash-prefs.patch \
+       patches/gnupg2-2.0.12/05-dns-sd.patch \
+        patches/gnupg2-2.0.12/06-opgp-sign3072.patch \
+        patches/gnupg2-2.0.12/07-gpg-no-detached.patch \
+        patches/gnupg2-2.0.12/08-sm-learn-card.patch \
+       patches/gnupg2-2.0.12/09-sm-keylist.patch \
+       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 \
+       patches/libetpan-0.57/01-gnutls_compat.patch \
+        patches/scute-1.2.0/01-bugfixes.patch \
+        patches/scute-1.3.0/01-wsastartup.patch
 
 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
+