[syslinux:firmware] cmenu: only the spotless target should delete *.c32

syslinux-bot for Matt Fleming matt.fleming at intel.com
Fri Jul 12 03:12:07 PDT 2013


Commit-ID:  89d98dfdc7e195e84dca64fd24b4505e16769b07
Gitweb:     http://www.syslinux.org/commit/89d98dfdc7e195e84dca64fd24b4505e16769b07
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Fri, 12 Jul 2013 10:21:48 +0100
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Fri, 12 Jul 2013 10:25:38 +0100

cmenu: only the spotless target should delete *.c32

If distribution package maintainers follow the advice in
doc/distrib.txt for rebuilding the installers, they'll currently hit the
following error when executing 'make install'

    install: cannot stat ‘com32/cmenu/libmenu/*.c32’: No such file or directory

Follow what every other module does and only delete .c32 files for the
spotless target.

Signed-off-by: Matt Fleming <matt.fleming at intel.com>

---
 com32/cmenu/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/com32/cmenu/Makefile b/com32/cmenu/Makefile
index f432136..5334a6b 100644
--- a/com32/cmenu/Makefile
+++ b/com32/cmenu/Makefile
@@ -57,14 +57,14 @@ tidy dist:
 libclean:
 	rm -f libmenu/*.c32
 
-clean: tidy menuclean libclean
-	rm -f *.lss *.c32 *.com
+clean: tidy menuclean
+	rm -f *.lss *.com
 
 menuclean:
 	rm -f $(patsubst %.menu,%.c,$(wildcard *.menu))
 
 spotless: clean libclean menuclean
-	rm -f *~ \#*
+	rm -f *~ \#* *.c32
 
 menus: $(MENUS)
 


More information about the Syslinux-commits mailing list