[xml/sgml-commit] [xml-core] 07/13: Makefile: add proper clean targets, to be called by dh_auto_clean

Mattia Rizzolo mattia at debian.org
Fri Sep 30 16:59:02 UTC 2016


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

mattia pushed a commit to branch master
in repository xml-core.

commit 40acf2591af1240e9d065a53812cceee5778e7a4
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Sep 30 16:45:52 2016 +0000

    Makefile: add proper clean targets, to be called by dh_auto_clean
---
 debhelper/Makefile | 4 ++++
 tools/Makefile     | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/debhelper/Makefile b/debhelper/Makefile
index 34c1dfc..0483bee 100644
--- a/debhelper/Makefile
+++ b/debhelper/Makefile
@@ -62,8 +62,12 @@ install:
 			$(INSTALL_FILE) $${f} $(man1_dir); \
 		done
 
+clean:
+	$(RM) $(man1s)
+
 .PHONY:		\
 		all \
+		clean \
 		install
 
 ## ----------------------------------------------------------------------
diff --git a/tools/Makefile b/tools/Makefile
index 56c2952..96f9b13 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -52,8 +52,12 @@ install:
 			$(INSTALL_FILE) $${f} $(man8_dir); \
 		done
 
+clean:
+	$(RM) $(man8s)
+
 .PHONY:		\
 		all \
+		clean \
 		install
 
 ## ----------------------------------------------------------------------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xml-core.git



More information about the debian-xml-sgml-commit mailing list