[apparmor] [patch] more Make.rules cruft removal

Steve Beattie steve at nxnw.org
Wed Jan 28 21:28:12 UTC 2015


On Wed, Jan 28, 2015 at 10:13:53PM +0100, Christian Boltz wrote:
> parser/Makefile also has a dist_clean:

Sigh, so much cruft.

> Note that "dist_clean" deletes files that are already deleted by 
> "clean", which means "dist_clean" is basically superfluous ;-)
> 
> Assuming that nobody uses dist_clean, the obvious patch is:
> 
> [ parser_Makefile_drop_dist_clean.diff ]
> 
> === modified file 'parser/Makefile'
> --- parser/Makefile     2015-01-23 23:52:09 +0000
> +++ parser/Makefile     2015-01-28 21:11:51 +0000
> @@ -370,7 +370,3 @@
>         $(MAKE) -s -C po clean
>         $(MAKE) -s -C tst clean
>  
> -.SILENT: dist_clean
> -dist_clean:
> -       @$(MAKE) clean
> -       @rm -f $(LEX_C_FILES) $(YACC_C_FILES)

Acked-by: Steve Beattie <steve at nxnw.org>. Thanks!

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150128/8b68ad3c/attachment-0001.pgp>


More information about the AppArmor mailing list