[cod-tools] 106/142: branches/single-source-build/ Adding Makefile target 'make origclean' to remove all generated files except tarball of the original source distribution.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:23 UTC 2017


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

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit 06753ef9958a51b8aa7e2e734be5ed75e6145a6a
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Sun May 21 16:49:44 2017 +0000

    branches/single-source-build/
    Adding Makefile target 'make origclean' to remove all generated files
    except tarball of the original source distribution.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/branches/single-source-build@106 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 MasterMakefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/MasterMakefile b/MasterMakefile
index 74c8c8a..66845ee 100644
--- a/MasterMakefile
+++ b/MasterMakefile
@@ -29,7 +29,7 @@ endif
 
 #------------------------------------------------------------------------------
 
-.PHONY: original orig signed cleanAll distclean lint lintian
+.PHONY: original orig signed cleanAll distclean lint lintian origclean
 
 original orig: ${ORIG_TAR_GZ}
 
@@ -54,7 +54,10 @@ lint lintian:
 	-lintian --pedantic ${CHANGES_FILE}
 	-lintian --pedantic ${DEB_FILE}
 
-cleanAll distclean:
+cleanAll distclean: origclean
+	rm -f ${ORIG_TAR_GZ} 
+
+origclean:
 	rm -rf source ${PKGNAME} ${PROJECT}
-	rm -f ${ORIG_TAR_GZ} ${DEBIAN_TAR_GZ} ${DEBIAN_TAR_XZ}
+	rm -f ${DEBIAN_TAR_GZ} ${DEBIAN_TAR_XZ}
 	rm -f *.deb *.dsc *.changes *.build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git



More information about the debian-science-commits mailing list