X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=Smake;fp=Smake;h=fd936cd1505477a87b1718205ca4b7e2bcbc8d31;hp=79b573b54962d6edec256ea1ddce8fda5c932c02;hb=e59bf0b7b753079089d6bc4b13798216b2cb6809;hpb=cdaf2362480a6462d53522603bf8ce12fd74fd3a diff --git a/Smake b/Smake index 79b573b5..fd936cd1 100644 --- a/Smake +++ b/Smake @@ -94,7 +94,7 @@ GNULIB_MODULES = \ xstrndup \ xvasprintf -all: po/POTFILES.in +all: test -e ChangeLog || touch ChangeLog test -d m4 || mkdir m4 echo '*' > m4/.cvsignore @@ -116,16 +116,6 @@ gettextize: touch m4/Makefile.am gettextize --force --no-changelog -po/POTFILES.in: - for f in `find src \( -name \*.[qc] -o -name \*.glade \) ! -name .\* -print` ; do \ - if test $$f = src/libpspp/version.c; then continue; fi; \ - if test $$f = src/ui/gui/psppire-marshal.c; then continue; fi; \ - if test -e `dirname $$f`/`basename $$f .c`.q ; then continue; fi; \ - echo $$f ; \ - done | sort | uniq > $@.tmp - if test ! -e $@ || ! cmp -s $@.tmp $@; then mv $@.tmp $@; fi - rm -f $@.tmp - check: all rm -rf _check mkdir _check @@ -141,8 +131,8 @@ _debug: all test -d _debug || mkdir _debug cd _debug && ../configure $(CONFIGUREFLAGS) --enable-debug -PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in \ -po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed \ +PO_FILES = po/ChangeLog \ +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 @@ -168,4 +158,4 @@ clean: rm -f ltmain.sh rm -f reloc-ldflags install-reloc -.PHONY: all gettextize potfiles clean +.PHONY: all gettextize clean