Differences From:
File
src/main.mk
part of check-in
[e71e4d3193]
- Add the "stat" webpage showing repository statistics.
by
drh on
2008-02-25 02:26:44.
[view]
To:
File
src/main.mk
part of check-in
[7c0bd3ee08]
- make test should find test script relative to the SRCDIR so it will work when run from a separate build directory. This also allows 'make test' to run with Makefile.w32
by
mjanssen on
2008-03-11 20:00:11.
[view]
@@ -219,9 +219,9 @@
# WARNING. DANGER. Running the testsuite modifies the repository the
# build is done from, i.e. the checkout belongs to. Do not sync/push
# the repository after running the tests.
test: $(APPNAME)
- $(TCLSH) test/tester.tcl $(APPNAME)
+ $(TCLSH) ${SRCDIR}/../test/tester.tcl $(APPNAME)
VERSION.h: $(SRCDIR)/../manifest.uuid $(SRCDIR)/../manifest
awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' $(SRCDIR)/../manifest.uuid >VERSION.h
awk '{ printf "#define MANIFEST_VERSION \"[%.10s]\"\n", $$1}' $(SRCDIR)/../manifest.uuid >>VERSION.h