helpdir = $(datadir)/gnome/help/multi-gnome-terminal/$(lang) help_DATA = \ index.html \ topic.dat \ $(figs) #Scrollkeeper related stuff omf_dir=$(top_srcdir)/omf-install EXTRA_DIST = $(app).sgml $(help_DATA) $(omffiles) all: index.html omf omf: $(omffiles) -for omffile in $(omffiles); do \ which scrollkeeper-preinstall >/dev/null 2>&1 && scrollkeeper-preinstall $(DESTDIR)$(helpdir)/$(app).sgml $$omffile $(omf_dir)/$$omffile; \ done index.html: $(app)/index.html -cp $(app)/index.html . # the wierd srcdir trick is because the db2html from the Cygnus RPMs # cannot handle relative filenames $(app)/index.html: $(srcdir)/$(app).sgml -srcdir=`cd $(srcdir) && pwd`; \ db2html $$srcdir/$(app).sgml app-dist-hook: index.html -$(mkinstalldirs) $(distdir)/$(app)/stylesheet-images -$(mkinstalldirs) $(distdir)/figures -cp $(srcdir)/$(app)/*.html $(distdir)/$(app) -cp $(srcdir)/$(app)/*.css $(distdir)/$(app) -cp $(srcdir)/$(app)/stylesheet-images/*.png \ $(distdir)/$(app)/stylesheet-images -cp $(srcdir)/$(app)/stylesheet-images/*.gif \ $(distdir)/$(app)/stylesheet-images -cp $(srcdir)/figures/*.png \ $(distdir)/figures install-data-am: index.html -$(mkinstalldirs) $(DESTDIR)$(helpdir)/stylesheet-images -$(mkinstalldirs) $(DESTDIR)$(helpdir)/figures -cp $(srcdir)/$(app).sgml $(DESTDIR)$(helpdir) -cp $(srcdir)/topic.dat $(DESTDIR)$(helpdir) -for file in $(srcdir)/$(app)/*.html $(srcdir)/$(app)/*.css $(srcdir)/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/$$basefile; \ done -for file in $(srcdir)/figures/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/figures/$$basefile; \ done -for file in $(srcdir)/$(app)/stylesheet-images/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/stylesheet-images/$$basefile; \ done -for file in $(srcdir)/$(app)/stylesheet-images/*.gif; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(DESTDIR)$(helpdir)/stylesheet-images/$$basefile; \ done $(app).ps: $(srcdir)/$(app).sgml -srcdir=`cd $(srcdir) && pwd`; \ db2ps $$srcdir/$(app).sgml $(app).rtf: $(srcdir)/$(app).sgml -srcdir=`cd $(srcdir) && pwd`; \ db2ps $$srcdir/$(app).sgml