3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
51 test -d m4 || mkdir m4
53 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
54 --source-base=gl --lib=libgl --tests-base=tests \
55 --import $(GNULIB_MODULES)
59 test -d m4 || mkdir m4
61 gettextize -f -c --intl --no-changelog
64 for f in `find src -name \*.[qc] ! -name .\* -print \
65 | sed 's/\.[qc]$$//'`; do \
66 if test $$f = src/libpspp/version.c; then break; fi; \
67 if test -e $$f.q; then echo $$f.q; else echo $$f.c; fi \
68 done | sort | uniq > $@.tmp
69 if test ! -e $@ || ! cmp -s $@.tmp $@; then mv $@.tmp $@; fi
75 cd _check && ../configure $(CONFIGUREFLAGS)
76 cd _check && make distcheck
80 test -d _build || mkdir _build
81 cd _build && ../configure $(CONFIGUREFLAGS)
83 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in \
84 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed \
85 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
86 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
90 rm -f config.sub config.guess config.rpath
94 rm -f missing mkinstalldirs
96 rm -f configure Makefile
101 rm -f mdate-sh texinfo.tex
104 find . -name Makefile.in -exec rm -f {} \;
107 .PHONY: all gettextize potfiles clean