mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-06-12 15:29:29 +00:00
2fd48bf635
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"
38 lines
667 B
Makefile
38 lines
667 B
Makefile
CHAPTERS = \
|
|
start.sgml \
|
|
interact.sgml \
|
|
product.sgml \
|
|
commands.sgml \
|
|
vars.sgml \
|
|
prefix.sgml \
|
|
errors.sgml \
|
|
comply.sgml \
|
|
termcap.sgml \
|
|
glossary.sgml
|
|
|
|
all: h ps
|
|
h: gsh/index.html
|
|
ps: gsh.ltr.ps.Z
|
|
|
|
gsh.ltr.ps.Z: gsh.ltr.ps
|
|
compress < $< > $@
|
|
|
|
gsh/index.html: gsh.sgml $(CHAPTERS)
|
|
sgmltools -b html gsh.sgml
|
|
../posthtml gsh/*
|
|
|
|
gsh.ltr.ps: gsh.sgml $(CHAPTERS)
|
|
sgmltools -b ps gsh.sgml
|
|
mv gsh.ps gsh.ltr.ps
|
|
|
|
gsh.sgml: main.sgml $(CHAPTERS)
|
|
@date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
|
echo "generating $@"; \
|
|
perl -pe "s,%%%date%%%,$$date,g;" < main.sgml > $@
|
|
|
|
clean:
|
|
rm -f gsh.sgml *~
|
|
|
|
clobber: clean
|
|
rm -rf gsh gsh.ltr.ps gsh.ltr.ps.Z
|