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