[apparmor] [patch] make clean: delete "common" symlink in all directories

Christian Boltz apparmor at cboltz.de
Thu Oct 30 14:07:22 UTC 2014


Hello,

some of our Makefiles didn't delete the "common" symlink in "make clean".


=== modified file 'parser/Makefile'
--- parser/Makefile     2014-09-23 14:54:04 +0000
+++ parser/Makefile     2014-10-30 14:06:19 +0000
@@ -373,6 +373,7 @@
        $(MAKE) -s -C $(AAREDIR) clean
        $(MAKE) -s -C po clean
        $(MAKE) -s -C tst clean
+       rm -f common
 
 .SILENT: dist_clean
 dist_clean:

=== modified file 'profiles/Makefile'
--- profiles/Makefile   2014-03-25 17:45:20 +0000
+++ profiles/Makefile   2014-10-25 23:21:16 +0000
@@ -63,7 +63,7 @@
 LOCAL_ADDITIONS=$(filter-out ${PROFILES_SOURCE}/local/README, $(wildcard ${PROFILES_SOURCE}/local/*))
 .PHONY: clean
 clean:
-       -rm -f $(NAME)-$(VERSION)*.tar.gz Make.rules ${LOCAL_ADDITIONS}
+       -rm -f $(NAME)-$(VERSION)*.tar.gz Make.rules ${LOCAL_ADDITIONS} common
 
 ifndef VERBOSE
   Q=@

=== modified file 'utils/Makefile'
--- utils/Makefile      2014-09-15 18:30:47 +0000
+++ utils/Makefile      2014-10-25 23:17:08 +0000
@@ -76,6 +76,7 @@
        rm -rf staging/ build/
        rm -f apparmor/*.pyc
        rm -rf apparmor/__pycache__/
+       rm -f common
 
 # ${CAPABILITIES} is defined in common/Make.rules
 .PHONY: check_severity_db



Regards,

Christian Boltz
-- 
Ich wette, bald gibt es Viren fuer Linux, die nichts anderes machen
als mutt zu installieren und zum Default-MUA zu erklaeren. Aber wenn
mir so ein Ding begegnet, dann ahne ich ja zumindest, wo ich den Autor
des Virus suchen muss... :-)   [Thomas Hertweck in suse-linux]




More information about the AppArmor mailing list