Fix last change.
authorMarcus Brinkmann <mb@g10code.com>
Fri, 19 Jun 2009 22:56:41 +0000 (22:56 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 19 Jun 2009 22:56:41 +0000 (22:56 +0000)
2009-06-20  Marcus Brinkmann  <marcus@g10code.com>

* m4/gpg4win.m4 (GPG4WIN_IPKG, GPG4WIN_SPKG, GPG4WIN_BPKG,
GPG4WIN_MPKG): Define new substitution variables
gpg4win_pkg_PKGNAME_deps, to transfer the knowledge of the
dependency tree to the Makefiles.
* src/gpg4win.mk.in (SPKG_template, BPKG_template): Wrap it in a
test for package name being NO.
(pkg_files): New variable, listing all package files.
(VERSIONINFO_macro): Removed.
(GETDEPS): New macro.
* src/Makefile.am (versioninfo.txt): Use pkg_files to create versioninfo.txt.

src/Makefile.am

index 7aceef0..63bb34d 100644 (file)
@@ -454,7 +454,7 @@ define VERSIONINFO_macro
 endef
 
 versioninfo.txt:
-       $(SHA1SUM) $(pkg_files) >> versioninfo.txt
+       $(SHA1SUM) $(pkg_files) > versioninfo.txt
 
 NEWS.tmp : $(top_srcdir)/NEWS
        sed -e '/^#/d' <$(top_srcdir)/NEWS >NEWS.tmp