X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Smake;h=72c1d34f0b5a6cbc14e6875325fba62c25e68611;hb=refs%2Fheads%2Fctables12;hp=40eac89dd16873a7f753b82d48ec150fead27da4;hpb=32ecf6b0ebcedc9561e5058e4fab3b2a143349a1;p=pspp diff --git a/Smake b/Smake index 40eac89dd1..72c1d34f0b 100644 --- a/Smake +++ b/Smake @@ -47,6 +47,7 @@ GNULIB_MODULES = \ environ \ fatal-signal \ fcntl \ + fnmatch \ fpieee \ fprintf-posix \ full-read \ @@ -135,6 +136,7 @@ GNULIB_MODULES = \ unitypes \ unlocked-io \ vasprintf-posix \ + verify \ version-etc \ version-etc-fsf \ vfprintf-posix \ @@ -152,11 +154,11 @@ GNULIB_MODULES = \ xvasprintf APP_ICONS = \ -src/ui/gui/icons/16x16/apps/pspp.png \ -src/ui/gui/icons/32x32/apps/pspp.png \ -src/ui/gui/icons/48x48/apps/pspp.png \ -src/ui/gui/icons/256x256/apps/pspp.png \ -src/ui/gui/icons/scalable/apps/pspp.svg +src/ui/gui/icons/16x16/apps/org.gnu.pspp.png \ +src/ui/gui/icons/32x32/apps/org.gnu.pspp.png \ +src/ui/gui/icons/48x48/apps/org.gnu.pspp.png \ +src/ui/gui/icons/256x256/apps/org.gnu.pspp.png \ +src/ui/gui/icons/scalable/apps/org.gnu.pspp.svg CATEGORY_ICONS = \ src/ui/gui/icons/48x48/categories/align-left.png \ @@ -314,11 +316,11 @@ src/ui/gui/icons/manifest: $(MAKEFILE_LIST) echo >> $@ -src/ui/gui/resources.xml: $(ICONS) +src/ui/gui/resources.xml: $(MAKEFILE_LIST) printf '\n' > $@ printf '\n' >> $@ - printf ' \n' >> $@ - for x in $^; do \ + printf ' \n' >> $@ + for x in $(ICONS); do \ z=`echo "$$x" | sed -e 's%src/ui/gui/%%'` ; \ printf " $$z\n" >> $@ ; \ done @@ -334,7 +336,8 @@ prep_ph: touch build-aux/config.rpath $(GNULIB_TOOL) --add-import --no-changelog --m4-base=gl/m4 \ --source-base=gl --lib=libgl --tests-base=tests \ - --doc-base=gl/doc --aux-dir=build-aux \ + --doc-base=gl/doc --aux-dir=build-aux \ + --makefile-name=automake.mk --automake-subdir \ --libtool $(GNULIB_MODULES) if (glibtoolize --version) >/dev/null 2>&1; then \ LIBTOOLIZE=glibtoolize; \ @@ -402,6 +405,7 @@ clean: clean-icons rm -f config.h.in~ rm -f config.h.in rm -f gl/Makefile.in + rm -f gl/automake.mk rm -f Makefile.in rm -f build-aux/compile rm -f build-aux/ltmain.sh