[pkg-opensc-commit] [pkcs11-helper] 26/44: Some automake cleanups

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:40:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to tag pkcs11-helper-1.06
in repository pkcs11-helper.

commit 90288a94ef0e471100b02ff113376da2d9837239
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Thu Feb 7 21:39:33 2008 +0000

    Some automake cleanups
---
 distro/debian/Makefile.am |  5 +++--
 man/Makefile.am           | 15 +++++----------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/distro/debian/Makefile.am b/distro/debian/Makefile.am
index 511be0c..e93de3c 100644
--- a/distro/debian/Makefile.am
+++ b/distro/debian/Makefile.am
@@ -49,6 +49,7 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
+SUFFIXES=.m4
 CLEANFILES=copyright
 BUILT_SOURCES=copyright
 
@@ -64,5 +65,5 @@ dist_noinst_DATA= \
 	libpkcs11-helper1-dev.install \
 	libpkcs11-helper1.install
 
-copyright:	copyright.m4
-	$(M4) copyright.m4 > $@
+.m4:
+	$(M4) $^ > $@
diff --git a/man/Makefile.am b/man/Makefile.am
index f39cf1d..222b502 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -49,18 +49,13 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-if WIN32
+CLEANFILES=pkcs11-helper-1.8.html
 
-pkcs11-helper-1.8.html:
-	$(MAN2HTML) < pkcs11-helper-1.8 > $@
-	
+if WIN32
 nodist_html_DATA=pkcs11-helper-1.8.html
-
-EXTRA_DIST=pkcs11-helper-1.8
-
+dist_noinst_DATA=pkcs11-helper-1.8
+pkcs11-helper-1.8.html:	pkcs11-helper-1.8
+	$(MAN2HTML) < $^ > $@
 else
 dist_man_MANS=pkcs11-helper-1.8
 endif
-
-clean-generic:
-	-rm -f *.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list