[pkg-opensc-commit] [pkcs11-helper] 156/253: Some automake cleanups

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


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

eric pushed a commit to branch master
in repository pkcs11-helper.

commit 057acf9b6c620bf7ebbdbe573266a4870879e709
Author: Alon Bar-Lev <alon.barlev at gmail.com>
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