mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-06-12 15:29:29 +00:00
5eed4a4a87
- initial checkin. Only minor changes from the v2.0.4 version. It still needs to be reviewed as to currency.
34 lines
521 B
Makefile
34 lines
521 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.sgml $(CHAPTERS)
|
|
sgmltools -b html gsh.sgml
|
|
../posthtml gsh/*
|
|
|
|
ps: gsh.sgml $(CHAPTERS)
|
|
sgmltools -b ps gsh.sgml
|
|
|
|
gsh.sgml: main.sgml
|
|
date="`../getdate -date main.sgml $(CHAPTERS)`"; \
|
|
echo "generating $@"; \
|
|
perl -pe "s,%%%date%%%,$$date,g;" < $< > $@
|
|
|
|
.PRECIOUS: gsh.sgml
|
|
|
|
clean:
|
|
rm -f gsh.sgml *~
|
|
|
|
clobber: clean
|
|
rm -rf gsh
|