Skip to content

Commit 36b0cd8

Browse files
committed
[css2] Added automatic expansion of [[cite]] to bilio link.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40850
1 parent 0aa077d commit 36b0cd8

1 file changed

Lines changed: 7 additions & 19 deletions

File tree

css2/Makefile

Lines changed: 7 additions & 19 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 2.4 1998-02-03 16:39:41 ijacobs Exp $
3+
# $Id: Makefile,v 2.5 1998-02-10 18:01:11 bbos Exp $
44

55
# what needs to be set for every new release:
66
# Note use of full year (1998) in identifier.
@@ -185,6 +185,8 @@ ADDREFCLASS= $(PERL) ./bin/addrefclass
185185
MKHEADINGDB = $(PERL) ./bin/mkheadingdb
186186
# Add prev/next/toc/stylesheet and other links to document
187187
MKCHAIN = $(PERL) ./bin/mkchain
188+
# Expand [[cite]] to link to bibliography
189+
ADDCITE = $(PERL) ./bin/addcite
188190

189191
# utility to generate the PostScript version
190192
#
@@ -222,23 +224,15 @@ LN= ln
222224
$(INSAFTER) - $*.subtoc /H1 - |\
223225
$(MKCHAIN) -r $@ - $@
224226

225-
%.srd: %.src build/blocks.ok
227+
%.srd: %.src build/blocks.ok $(REFSRC:.src=.srd)
226228
@echo "=========== making" $@
227229
$(HIPP) $(INCLUDES) $< |\
230+
$(ADDCITE) -r $(REFS) $(REFSRCS) |\
228231
$(ADDHANCH) -r $*.html $(HEADINGDB) - $@
229232
$(MKANCHDB) -r $*.html value-def- $(VALUEDB) $@
230233
$(MKANCHDB) -r $*.html propdef- $(VALUEDB) $@
231234
$(MKANCHDB) -r $*.html descdef- $(VALUEDB) $@
232235

233-
#%.srd: %.src build/blocks.ok
234-
# @echo "=========== making" $@
235-
# $(HIPP) $(INCLUDES) $< |\
236-
# $(MKANCHDB) -r $@ value-def- $(VALUEDB) |\
237-
# $(MKANCHDB) -r $@ propdef- $(VALUEDB) |\
238-
# $(MKANCHDB) -r $@ descdef- $(VALUEDB) |\
239-
# $(ADDIDXANCH) -r $*.html $(INDEXDB) | \
240-
# $(ADDHANCH) -r $*.html $(HEADINGDB) >$@
241-
242236
.idraw.gif:
243237
$(RM) $@
244238
# $(PSTOPNM) $< | $(PPMQUANT) | $(PPMTOGIF) >$@
@@ -342,12 +336,6 @@ build/minicontents.srb: $(MAINSRCS:.src=.srd) $(APPSRCS:.src=.srd) $(REFSRCS:.sr
342336
@echo "=========== making" $@
343337
$(MKTOC) -h 1 $(HEADINGDB) $@
344338

345-
#build/headings.db.ok: $(MAINSRCS) $(INDEXSRCS) $(APPSRCS) $(REFSRCS)
346-
# @echo "=========== making" $@
347-
# $(MKHEADINGDB) $(HEADINGDB)
348-
# touch $@
349-
350-
351339
### general index related rules
352340
build/indexlist.srb: $(MAINSRCS) $(APPSRCS)
353341
@echo "=========== making" $@
@@ -424,9 +412,9 @@ checkdoc: all
424412

425413
### check on the validity references in the document
426414

427-
checkrefs: build/refs.db
415+
checkrefs: build/refs.db $(SPECOBJS)
428416
-@echo "# Begin checking references."
429-
-@$(CHKREFS) build/refs.db $(SPECSRCS)
417+
-@$(CHKREFS) build/refs.db $(SPECOBJS)
430418
-@echo "# End checking references."
431419

432420
build/refs.db : $(SPECSRCS) $(REFSRCS)

0 commit comments

Comments
 (0)