X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Smake;h=0314c9b7cd063be9bd53686df0c215e076a7f3e9;hb=65dea0d51ec33cbc614a3ec87b5aae28c86f005a;hp=09f1c84e0a2c5bd9f7d8d1fbe04a397590793c5e;hpb=41a708b3aaf8e38cbf3bc38b1056c289c80b989f;p=pspp diff --git a/Smake b/Smake index 09f1c84e0a..0314c9b7cd 100644 --- a/Smake +++ b/Smake @@ -320,7 +320,8 @@ src/ui/gui/icons/manifest: $(MAKEFILE_LIST) echo >> $@ printf 'icon_srcs = ' >> $@ for i in $(ICONS); do \ - printf ' \\\n\t '$$i | sed -e 's/\.png$$/.svg/' -e 's%/icons/%/artwork/%' >> $@ ; \ + printf ' \\\n\t ' >> $@ ;\ + printf $$i | awk '{ gsub(".png",".svg")gsub("icons","artwork");printf $$0}' >> $@ ; \ done echo ' ' >> $@ echo >> $@ @@ -348,7 +349,7 @@ aclocal.m4: aclocal -I m4 -I gl/m4 configure: configure.ac aclocal.m4 - autoconf + autoconf || rm $@ # autoconf 2.69 has (what I think is) a bug. It will create configure even when failure is detected. config.h.in: configure.ac autoheader @@ -379,8 +380,7 @@ _debug: all -PO_FILES = po/ChangeLog \ -po/Rules-quot po/boldquot.sed \ +PO_FILES = po/Rules-quot po/boldquot.sed \ 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 @@ -400,7 +400,8 @@ clean: rm -f doc/stamp-vti rm -f config.h.in~ rm -f config.h.in - find . -name Makefile.in -exec rm -f {} \; + rm -f gl/Makefile.in + rm -f Makefile.in rm -f compile rm -f ltmain.sh rm -f reloc-ldflags install-reloc