mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-20 21:29:49 +00:00
.cvsignore:
added 'gsh.sgml' since it's generated Makefile: fixed up some dependencies main.sgml: added top level id so that the created file is named "index.html"
This commit is contained in:
parent
5eed4a4a87
commit
2fd48bf635
@ -1,3 +1,4 @@
|
||||
.cvsignore
|
||||
gsh
|
||||
gsh.ps
|
||||
gsh.sgml
|
||||
|
@ -10,24 +10,28 @@ CHAPTERS = \
|
||||
termcap.sgml \
|
||||
glossary.sgml
|
||||
|
||||
all: h ps
|
||||
all: h ps
|
||||
h: gsh/index.html
|
||||
ps: gsh.ltr.ps.Z
|
||||
|
||||
h: gsh.sgml $(CHAPTERS)
|
||||
gsh.ltr.ps.Z: gsh.ltr.ps
|
||||
compress < $< > $@
|
||||
|
||||
gsh/index.html: gsh.sgml $(CHAPTERS)
|
||||
sgmltools -b html gsh.sgml
|
||||
../posthtml gsh/*
|
||||
|
||||
ps: gsh.sgml $(CHAPTERS)
|
||||
gsh.ltr.ps: gsh.sgml $(CHAPTERS)
|
||||
sgmltools -b ps gsh.sgml
|
||||
mv gsh.ps gsh.ltr.ps
|
||||
|
||||
gsh.sgml: main.sgml
|
||||
date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
||||
gsh.sgml: main.sgml $(CHAPTERS)
|
||||
@date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
||||
echo "generating $@"; \
|
||||
perl -pe "s,%%%date%%%,$$date,g;" < $< > $@
|
||||
|
||||
.PRECIOUS: gsh.sgml
|
||||
perl -pe "s,%%%date%%%,$$date,g;" < main.sgml > $@
|
||||
|
||||
clean:
|
||||
rm -f gsh.sgml *~
|
||||
|
||||
clobber: clean
|
||||
rm -rf gsh
|
||||
rm -rf gsh gsh.ltr.ps gsh.ltr.ps.Z
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
;; $Id: main.sgml,v 1.1 1999/02/21 18:46:50 gdr-ftp Exp $
|
||||
;; $Id: main.sgml,v 1.2 1999/02/21 23:30:39 gdr-ftp Exp $
|
||||
-->
|
||||
|
||||
<!DOCTYPE book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||
@ -16,7 +16,10 @@
|
||||
<!entity gsh-glossary system "glossary.sgml">
|
||||
]>
|
||||
|
||||
<book>
|
||||
<!-- use the label "index" so that the top level HTML index file comes
|
||||
out as "index.html" -->
|
||||
|
||||
<book id="index">
|
||||
|
||||
<bookinfo>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user