Fossil

Check-in [7c0bd3ee]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7c0bd3ee08da67da618336a336ec5ca22ce3f7f2
User & Date: mjanssen 2008-03-11 20:00:11.000
Context
2008-03-12
00:30
Initial NSIS script for creating installer on Win32 ... (check-in: 76bd88c2 user: mjanssen tags: trunk)
2008-03-11
20:00
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 ... (check-in: 7c0bd3ee user: mjanssen tags: trunk)
19:21
Fixed Win32 build breakage ... (check-in: dbb2cee1 user: mjanssen tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.mk.
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
mkindex:	$(SRCDIR)/mkindex.c
	$(BCC) -o mkindex $(SRCDIR)/mkindex.c

# 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)

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
	awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}'  $(SRCDIR)/../manifest >>VERSION.h

$(APPNAME):	headers $(OBJ) sqlite3.o th.o th_lang.o







|







216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
mkindex:	$(SRCDIR)/mkindex.c
	$(BCC) -o mkindex $(SRCDIR)/mkindex.c

# 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) ${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
	awk '$$1=="D"{printf "#define MANIFEST_DATE \"%s %s\"\n", substr($$2,1,10),substr($$2,12)}'  $(SRCDIR)/../manifest >>VERSION.h

$(APPNAME):	headers $(OBJ) sqlite3.o th.o th_lang.o