1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
## $Id: Makefile.am,v 1.9 2003/12/24 20:42:48 sgt Exp $
## process this file with automake to create Makefile.in
## (You should run ./autogen.sh from the top level directory)
# Lots of this documentation stuff was borrowed from scwm. It doesn't
# all work yet; the next big project is a tool to build gwave.sgml
# in part from gwave-procedures.txt etc.
#
# If you have docbook-to-man, you should be able to build
# sp2sp.1 from sp2sp.sgml, however.
noinst_DATA=gwave-procedures.txt gwave-variables.txt gwave-hooks.txt \
gwave-concepts.txt
man_MANS=sp2sp.1
EXTRA_DIST=Guile.notes HPUX.notes hspice.txt hspice-output.txt sp2sp.sgml sp2sp.1 spice3.txt scwmexec.proto
# Make the reference-document textfiles
gwave-procedures.txt gwave-variables.txt gwave-hooks.txt gwave-concepts.txt:
@GUILE@ -e main -s $(top_srcdir)/utilities/doc-split --basename gwave $(top_srcdir)/src/*.doc $(top_srcdir)/scheme/*.doc
html: gwave.sgml
mkdir -p html && cd html && \
jade -t sgml -d $(DOCBOOK_HOME)/html/docbook.dsl ../$<
tex gwave.tex: gwave.sgml
jade -t tex -d $(DOCBOOK_HOME)/print/docbook.dsl $< || true
dvi gwave.dvi: gwave.tex
jadetex $<
ps gwave.ps: gwave.dvi
dvicmps -o gwave.ps $<
pdf gwave.pdf: gwave.sgml
db2pdf $<
SUFFIXES=.sgml .1 .5
.sgml.1:
docbook-to-man $*.sgml > $@
.PHONY: html tex dvi ps pdf
|