Smake: Clean icons from "clean" target and add clean-icons target.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 16 Nov 2020 17:58:24 +0000 (09:58 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 16 Nov 2020 17:58:32 +0000 (09:58 -0800)
Smake

diff --git a/Smake b/Smake
index b38e98040d69f1d45f94677aebba8a1a9efe0cb3..40eac89dd16873a7f753b82d48ec150fead27da4 100644 (file)
--- a/Smake
+++ b/Smake
@@ -293,6 +293,9 @@ everything: prep_ph  icons
        $(MAKE) -f Smake Makefile.in configure
 
 icons: $(ICONS)
+clean-icons:
+       rm -f $(ICONS)
+.PHONY: icons clean-icons
 
 src/ui/gui/icons/manifest: $(MAKEFILE_LIST)
        $(RM) $@
@@ -383,7 +386,7 @@ po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header                     \
 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po    \
 po/Makevars.template po/pspp.pot
 
-clean:
+clean: clean-icons
        rm -f config.sub config.guess config.rpath
        rm -fr autom4te.cache
        rm -f aclocal.m4