1 # Makefile.am - Installer for GnuPG 4 Windows Makefile.
2 # Copyright (C) 2005, 2008, 2012 g10 Code GmbH
4 # This file is part of GPG4Win.
6 # GPG4Win is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # GPG4Win is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
19 ACLOCAL_AMFLAGS = -I m4
20 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
21 DISTCHECK_CONFIGURE_FLAGS = --host=i686-w64-mingw32
23 SUBDIRS = po packages doc src
25 # find patches -type f | sort | sed 's/$/ \\/' | sed 's/^/ /'
27 EXTRA_DIST = autogen.sh README.GIT ONEWS \
28 doc/license-page doc/GPLv3 \
29 build-aux/git-log-footer build-aux/git-log-fix \
30 patches/glib-2.41.5/01-socket.patch \
31 patches/qtbase-5.5.1/fix-freetype-link.patch \
32 patches/qtbase-5.5.1/fix-oci-detect.patch \
33 patches/qtbase-5.5.1/fix-syssemaphore.patch \
34 patches/qtbase-5.5.1/fix-zlib-link.patch \
35 patches/qtbase-5.5.1/relative-paths.patch \
36 patches/w32pth-2.0.5/workaround-broken-libtool.patch \
37 patches/qttools/disable-most-tools.patch \
38 patches/ki18n/no-tests.patch \
39 patches/gpgmepp/0002-disable-variants.patch \
40 patches/kmime/0001-Check-for-and-replace-strcasestr.patch \
41 patches/kmime/0002-Fix-Windows-build.patch \
42 patches/kxmlgui/0001-Make-KGlobalAccel-dependency-optional.patch \
43 patches/kxmlgui/0002-Make-QDBus-dependency-optional.patch \
44 patches/kxmlgui/0003-Make-KTextWidgets-optional.patch \
45 patches/kxmlgui/0004-Cruedly-disable-KSendbugmail.patch \
46 patches/kxmlgui/0005-Use-non-native-Language-name-as-fallback.patch \
47 patches/kconfigwidgets/0001-Make-QDbus-optional.patch \
48 patches/kconfigwidgets/0002-Crudely-remove-KF5Auth-depedency.patch \
49 patches/kiconthemes/0001-Make-DBus-optional.patch \
50 patches/qtsvg/qtsvg-link-zlib.patch \
51 patches/extra-cmake-modules/0001-Add-convert-utility-support-for-Windows-icons.patch \
52 patches/kleopatra/0001-Implement-KDBusService-alternative-for-Windows.patch \
53 patches/kleopatra/0002-Add-alternative-configuredialog-wihout-KCMUtils.patch \
54 patches/kleopatra/0003-Add-option-to-disable-KWatchGnuPG.patch \
55 patches/kleopatra/0004-Make-DBus-integration-of-the-smime-conf-optional.patch \
56 patches/kleopatra/0005-Hack-generated-conf-files-for-Crosscompiling.patch
59 cp NEWS doc/website/NEWS.last
62 copy-release: gpg4win-$(VERSION).tar.bz2 installers/gpg4win-$(VERSION).exe \
63 installers/gpg4win-light-$(VERSION).exe \
64 installers/gpg4win-vanilla-$(VERSION).exe
65 @echo Copying $(VERSION) to $(RELEASEHOST) >&2
67 if ssh "$$(echo $(RELEASEHOST)|cut -d: -f -1)" \
68 test -f "$$(echo $(RELEASEHOST)/gpg4win-$(VERSION).exe|cut -d: -f2-)";\
69 then echo "This release has already been copied to the server" >&2 ;\
70 else scp gpg4win-$(VERSION).tar.bz2 \
71 installers/gpg4win-$(VERSION).exe \
72 installers/gpg4win-light-$(VERSION).exe \
73 installers/gpg4win-vanilla-$(VERSION).exe \
74 installers/gpg4win-src-$(VERSION).exe $(RELEASEHOST)/ ;\
76 scp src/README.$$f.txt \
77 $(RELEASEHOST)/README-$(VERSION).$$f.txt; \
81 dist-hook: gen-ChangeLog
83 gen_start_date = 2012-03-26T00:00:00
87 if test -d $(top_srcdir)/.git; then \
88 (cd $(top_srcdir) && \
89 $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
90 --amend=build-aux/git-log-fix \
91 --since=$(gen_start_date) ) > $(distdir)/cl-t; \
92 cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
93 rm -f $(distdir)/ChangeLog; \
94 mv $(distdir)/cl-t $(distdir)/ChangeLog; \