3 # Adjust these to reflect where you've installed gnulib.
5 GNULIB_TOOL = $(GNULIB)/gnulib-tool
57 test -d m4 || mkdir m4
59 $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \
60 --source-base=gl --lib=libgl --tests-base=tests \
61 --import $(GNULIB_MODULES)
63 aclocal -I m4 -I gl/m4
66 automake --add-missing --copy --no-force
69 test -d m4 || mkdir m4
71 gettextize -f -c --intl --no-changelog
74 for f in `find src -name \*.[qc] ! -name .\* -print \
75 | sed 's/\.[qc]$$//'`; do \
76 if test $$f = src/libpspp/version; then continue; fi; \
77 if test -e $$f.q; then echo $$f.q; else echo $$f.c; fi \
78 done | sort | uniq > $@.tmp
79 if test ! -e $@ || ! cmp -s $@.tmp $@; then mv $@.tmp $@; fi
85 cd _check && ../configure $(CONFIGUREFLAGS)
86 cd _check && make distcheck
90 test -d _build || mkdir _build
91 cd _build && ../configure $(CONFIGUREFLAGS)
93 PO_FILES = po/ChangeLog po/Makefile po/Makefile.in po/Makefile.in.in \
94 po/POTFILES po/POTFILES.in po/Rules-quot po/boldquot.sed \
95 po/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \
96 po/insert-header.sin po/quot.sed po/remove-potcdate.sin po/stamp-po \
100 rm -f config.sub config.guess config.rpath
102 rm -fr autom4te.cache
104 rm -f missing mkinstalldirs
106 rm -f configure Makefile
111 rm -f mdate-sh texinfo.tex
114 find . -name Makefile.in -exec rm -f {} \;
117 .PHONY: all gettextize potfiles clean