]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
build-essentials: Add a clean target to the makefiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Mar 2011 12:29:08 +0000 (13:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Mar 2011 12:29:08 +0000 (13:29 +0100)
pkgs/build-essentials/build-essentials.nm
pkgs/build-essentials/buildsystem/Targets

index 4f8e953fe33be149e97eb9b6c7cacd931230d4d6..363477d0844879d06486123e029ccd3ccdc6e3f3 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = build-essentials
 PKG_VER        = $(DISTRO_VERSION)
-PKG_REL        = 2
+PKG_REL        = 3
 PKG_EPOCH      = 1
 PKG_ARCH       = noarch
 
index f9edd84efbd16ffda7065144fde982fa24663c2c..8c02cb73ce7dc2e69d8bdb3b24e31d7436d95054 100644 (file)
@@ -53,3 +53,8 @@ build: $(OBJECTS)
        $(if $(STAGE_BUILD),$(DO_BUILD))
        $(if $(STAGE_TEST),$(DO_TEST))
        $(if $(STAGE_INSTALL),$(DO_INSTALL))
+
+.PHONY: clean
+clean:
+       # Remove all files from $(DIR_APP)
+       -rm -rf $(DIR_APP)