# All of this is shamelessly cribbed from GGAD

guppi_helpdir = $(datadir)/gnome/help/guppi/C

guppi_help_DATA = guppi.html topic.dat

SGML_FILES = guppi.sgml

EXTRA_DIST = topic.dat $(SGML_FILES)

all:
guppi.html: guppi/guppi.html
	-cp guppi/guppi.html .

guppi/guppi.html: $(SGML_FILES)
	-db2html guppi.sgml

dist-hook:
	mkdir $(distdir)/guppi
	-cp guppi/*.html guppi/*.css $(distdir)/guppi
	-cp guppi.html $(distdir)

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(guppi_helpdir)/images
	-for file in $(srcdir)/guppi/*.html $(srcdir)/guppi/*.css; do \
	basefile=`basename $$file`; \
	$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(guppi_helpdir)/$$basefile; \
	done

guppi.ps: guppi.sgml
	-db2ps $<

guppi.pdf: guppi.sgml
	-db2pdf $<

guppi.dvi: guppi.sgml
	-db2dvi $<

guppi.rtf: guppi.sgml
	-db2rtf $<




syntax highlighted by Code2HTML, v. 0.9.1