[pkg-opensc-commit] [engine-pkcs11] 76/152: Don't remove external files on distclean

Eric Dorland eric at moszumanska.debian.org
Mon Oct 19 03:11:18 UTC 2015


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

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

commit 8504fe103e61a0e69fc5e0fc618471cb3f6569c9
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Fri Sep 19 06:53:30 2008 +0000

    Don't remove external files on distclean
---
 configure.ac                  |  2 +-
 doc/nonpersistent/Makefile.am | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3259d59..5910642 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@ ENGINE_PKCS11_VERSION_MAJOR="PACKAGE_VERSION_MAJOR"
 ENGINE_PKCS11_VERSION_MINOR="PACKAGE_VERSION_MINOR"
 ENGINE_PKCS11_VERSION_FIX="PACKAGE_VERSION_FIX"
 
-AC_CONFIG_SRCDIR(src/engine_pkcs11.c)
+AC_CONFIG_SRCDIR([src/engine_pkcs11.c])
 
 AC_CANONICAL_HOST
 AC_PROG_CC
diff --git a/doc/nonpersistent/Makefile.am b/doc/nonpersistent/Makefile.am
index e4e0185..b8ec4af 100644
--- a/doc/nonpersistent/Makefile.am
+++ b/doc/nonpersistent/Makefile.am
@@ -1,7 +1,5 @@
 MAINTAINERCLEANFILES = \
-	$(srcdir)/Makefile.in $(srcdir)/ChangeLog
-DISTCLEANFILES = \
-	ChangeLog ChangeLog.tmp 
+	$(srcdir)/Makefile.in
 
 wikidir=$(htmldir)/wiki
 
@@ -44,7 +42,15 @@ ChangeLog:
 endif
 
 distclean-local:
-	-rm -rf wiki.out wiki.tmp
+	-rm -rf wiki.tmp
+	if test -L wiki.out; then \
+		rm -fr wiki.out; \
+	fi
+	-rm -fr ChangeLog.tmp
+	if test -L ChangeLog; then \
+		rm -fr ChangeLog; \
+	fi
 
 maintainer-clean-local:
 	-rm -rf "$(srcdir)/wiki.out"
+	-rm -rf "$(srcdir)/ChangeLog"

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



More information about the pkg-opensc-commit mailing list