From: Ben Pfaff Date: Mon, 19 Sep 2005 17:25:19 +0000 (+0000) Subject: Smake: Add `check' target for convenience. Add --tests-base=tests to X-Git-Tag: v0.6.0~1219 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=3fb611d221aa070458c81c6ca8b1c78fbad9a0ab Smake: Add `check' target for convenience. Add --tests-base=tests to gnulib-tool invocation to compensate for bug. --- diff --git a/ChangeLog b/ChangeLog index 6792eb90..f4c2ec12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 19 10:24:10 2005 Ben Pfaff + + * Smake: Add `check' target for convenience. Add + --tests-base=tests to gnulib-tool invocation to compensate for + bug. + Sat Sep 17 11:01:44 2005 Ben Pfaff Adapt to newer versions of gnulib. diff --git a/Smake b/Smake index aaeb8c0b..492fa797 100644 --- a/Smake +++ b/Smake @@ -13,7 +13,8 @@ all: po/POTFILES.in test -d m4 || mkdir m4 touch m4/Makefile.am $(GNULIB_TOOL) --import --no-changelog --m4-base=gl/m4 \ - --source-base=gl --lib=libgl --import $(GNULIB_MODULES) + --source-base=gl --lib=libgl --tests-base=tests \ + --import $(GNULIB_MODULES) autoreconf --install gettextize: @@ -29,6 +30,13 @@ po/POTFILES.in: if test ! -e $@ || ! cmp -s $@.tmp $@; then mv $@.tmp $@; fi rm -f $@.tmp +check: all + rm -rf _check + mkdir _check + cd _check && ../configure $(CONFIGUREFLAGS) + cd _check && make distcheck + rm -rf _check + 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/cat-id-tbl.c po/en@boldquot.header po/en@quot.header \