Skip to content

Commit caa114e

Browse files
author
Arnaud Le Hors
committed
[css2] use new tools with the right options
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%4022
1 parent 0ea96a7 commit caa114e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css2/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
ROOT = .
66

@@ -97,7 +97,7 @@ HMKDEPEND= $(PERL) ./bin/hmkdep
9797
# make property anchor database
9898
MKANCHDB= $(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
102102
ADDIDXANCH= $(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

133133
all: $(PROPERTYDB) $(VALUEDB) $(HEADINGDB) $(SPECOBJS) $(INDEXES)
134134

@@ -184,7 +184,8 @@ build/index.srb: $(SPECOBJS)
184184
$(MKIDX) $@ build/index/*
185185

186186
cover.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

189190
build/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
194195
index.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

198199
clean:
199200
$(RM) $(SPECOBJS) $(SPECIALOBJS) $(INDEXES) build/* css20.*

0 commit comments

Comments
 (0)