mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-06-12 00:29:31 +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
|
.cvsignore
|
||||||
gsh
|
gsh
|
||||||
gsh.ps
|
gsh.ps
|
||||||
|
gsh.sgml
|
||||||
|
|
|
@ -10,24 +10,28 @@ CHAPTERS = \
|
||||||
termcap.sgml \
|
termcap.sgml \
|
||||||
glossary.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
|
sgmltools -b html gsh.sgml
|
||||||
../posthtml gsh/*
|
../posthtml gsh/*
|
||||||
|
|
||||||
ps: gsh.sgml $(CHAPTERS)
|
gsh.ltr.ps: gsh.sgml $(CHAPTERS)
|
||||||
sgmltools -b ps gsh.sgml
|
sgmltools -b ps gsh.sgml
|
||||||
|
mv gsh.ps gsh.ltr.ps
|
||||||
|
|
||||||
gsh.sgml: main.sgml
|
gsh.sgml: main.sgml $(CHAPTERS)
|
||||||
date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
@date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
||||||
echo "generating $@"; \
|
echo "generating $@"; \
|
||||||
perl -pe "s,%%%date%%%,$$date,g;" < $< > $@
|
perl -pe "s,%%%date%%%,$$date,g;" < main.sgml > $@
|
||||||
|
|
||||||
.PRECIOUS: gsh.sgml
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f gsh.sgml *~
|
rm -f gsh.sgml *~
|
||||||
|
|
||||||
clobber: clean
|
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" [
|
<!DOCTYPE book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||||
|
@ -16,7 +16,10 @@
|
||||||
<!entity gsh-glossary system "glossary.sgml">
|
<!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>
|
<bookinfo>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user