Differences From:
File
src/makemake.tcl
part of check-in
[e37451d9c2]
- Add the ability to sign manifests using GPG during a check-in.
Due to a bug in the manifest parser, older versions will not be
able to check-out signed manifests.
by
drh on
2007-08-01 21:59:38.
[view]
To:
File
src/makemake.tcl
part of check-in
[def4449a87]
- Add the "baseline" command that shows the UUID of the fossil baseline
from which the fossil executable was built.
by
drh on
2007-08-25 19:39:58.
[view]
@@ -96,8 +96,12 @@
mkindex: $(SRCDIR)/mkindex.c
$(BCC) -o mkindex $(SRCDIR)/mkindex.c
+VERSION.h: $(SRCDIR)/../manifest.uuid
+ awk '{ printf "#define MANIFEST_UUID \"%s\"\n", $$1}' \
+ $(SRCDIR)/../manifest.uuid >VERSION.h
+
$(APPNAME): headers $(OBJ) sqlite3.o
$(TCC) -o $(APPNAME) $(OBJ) sqlite3.o $(LIB)
clean:
@@ -112,9 +116,9 @@
foreach s [lsort $src] {
append mhargs " ${s}_.c:$s.h"
set extra_h($s) {}
}
-append mhargs " \$(SRCDIR)/sqlite3.h"
+append mhargs " \$(SRCDIR)/sqlite3.h ./VERSION.h"
puts "headers:\tmakeheaders mkindex \$(TRANS_SRC)"
puts "\t./makeheaders $mhargs"
puts "\t./mkindex \$(TRANS_SRC) >page_index.h"
puts "\ttouch headers\n"