buildsys: refactor distclean and clean target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 Jun 2018 06:34:59 +0000 (08:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 Jun 2018 06:57:25 +0000 (08:57 +0200)
remove the cleanup of the not produced ${PACKAGE}-*.tar.gz file.
This is here since the import from SVN, but is not needed since quite
a time.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 599e99f..6af8e77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,10 @@ deb ${DEB}:
        cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
        lintian ${DEB}
 
-.PHONY: clean
-clean:         
-       rm -rf *~ *.deb *.changes ${BUILDDIR} ${PACKAGE}-*.tar.gz *.buildinfo
-
-.PHONY: distclean
+.PHONY: clean distclean
 distclean: clean
+clean:
+       rm -rf *~ *.deb *.changes ${BUILDDIR} *.buildinfo
 
 .PHONY: check
 check: