[pkg-opensc-commit] [pam-p11] 46/66: Don't remove external files on distclean

Eric Dorland eric at moszumanska.debian.org
Tue Jun 13 04:06:53 UTC 2017


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

eric pushed a commit to branch master
in repository pam-p11.

commit c74b73713d9bb7539f000d555e03f5ebcf98c031
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Fri Sep 19 06:54:40 2008 +0000

    Don't remove external files on distclean
---
 doc/nonpersistent/Makefile.am | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

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/pam-p11.git



More information about the pkg-opensc-commit mailing list