11# Makefile to generate the CSS2 document based on its "source files"
22# Arnaud Le Hors - lehors@w3.org
3- # $Id: Makefile,v 1.3 1997-07-30 17:37:15 lehors Exp $
3+ # $Id: Makefile,v 1.4 1997-08-01 14:20:05 lehors Exp $
44
55ROOT = .
66
@@ -97,7 +97,7 @@ HMKDEPEND= $(PERL) ./bin/hmkdep
9797# make property anchor database
9898MKANCHDB = $(PERL ) ./bin/mkanchdb
9999# add heading anchors
100- ADDHANCH = $(PERL ) ./bin/addhanch
100+ ADDHANCH = $(PERL ) ./bin/addhanch -n
101101# add index anchors and generate related index database
102102ADDIDXANCH = $(PERL ) ./bin/addianch
103103# add navigation bars
@@ -128,7 +128,7 @@ LN= ln
128128 @if [ ! -d build/index ]; then mkdir -p build/index; fi
129129 $(HIPP ) $(INCLUDES ) $< - | $(ADDHANCH ) -r $< - - $(HEADINGDB ) | \
130130 $(ADDIDXANCH ) -r $< - - build/index/$< .db | \
131- $(ADDNAVBAR ) - " cover.html#toc" index.html $@
131+ $(ADDNAVBAR ) -r $@ - $@ contents " cover.html#toc" index index .html
132132
133133all : $(PROPERTYDB ) $(VALUEDB ) $(HEADINGDB ) $(SPECOBJS ) $(INDEXES )
134134
@@ -184,7 +184,8 @@ build/index.srb: $(SPECOBJS)
184184 $(MKIDX ) $@ build/index/*
185185
186186cover.html : cover.src build/contents.srb
187- $(HIPP ) $(INCLUDES ) $< $@
187+ $(HIPP ) $(INCLUDES ) $< - | \
188+ $(ADDNAVBAR) -bottom -hr -next -r $@ - $@ "Go to the table of contents" "# toc"
188189
189190build/contents.srb : $(MAINSRCS ) $(INDEXSRCS ) $(APPSRCS )
190191 $(MKTOC ) $@ $(HEADINGDB ) $(MAINSRCS ) $(INDEXSRCS ) $(APPSRCS )
@@ -193,7 +194,7 @@ $(HEADINGDB): build/contents.srb
193194# simpler rules for special pages
194195index.html : index.src
195196 $(HIPP ) $(INCLUDES ) $< - | \
196- $(ADDNAVBAR ) -r $@ - " cover.html#toc" index.html $@
197+ $(ADDNAVBAR ) -r $@ - $@ contents " cover.html#toc" index index .html
197198
198199clean :
199200 $(RM ) $(SPECOBJS ) $(SPECIALOBJS ) $(INDEXES ) build/* css20.*
0 commit comments