From c070e5e440e1e2c0406a5f3f276471e4a46468c1 Mon Sep 17 00:00:00 2001 From: Dan Mueth Date: Thu, 15 Feb 2001 07:07:43 +0000 Subject: Worked on Makefiles to get OMF stuff working Added omf-install/* to get 2001-02-14 Dan Mueth * Worked on Makefiles to get OMF stuff working * Added omf-install/* to get OMF stuff working * Update to spec file for OMF stuff --- introduction-to-gnome/C/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/introduction-to-gnome/C/Makefile.am b/introduction-to-gnome/C/Makefile.am index 3896af0..761006f 100644 --- a/introduction-to-gnome/C/Makefile.am +++ b/introduction-to-gnome/C/Makefile.am @@ -1,3 +1,5 @@ +omffiles=gnome-intro-C.omf +omf_dir=$(top_srcdir)/omf-install gnome_user_docs_intro_helpdir = $(datadir)/gnome/help/gnome-intro/C @@ -37,7 +39,13 @@ manual-pdf: gnome-intro.pdf manual-rtf: gnome-intro.rtf manual-all: manual-html manual-ps manual-pdf manual-rtf -all: index.html +all: index.html omf + +omf: $(omffiles) + -for omffile in $(omffiles); do \ + which scrollkeeper-preinstall >/dev/null 2>&1 && scrollkeeper-preinstall $(gnome_user_docs_intro_helpdir)/gnome-intro.sgml $$omffile $(omf_dir)/$$omffile; \ + done + clean: rm -rf gnome-intro @@ -81,4 +89,5 @@ dist-hook: all cp gnome-intro/*.css $(distdir)/gnome-intro cp gnome-intro/figs/*.png $(distdir)/gnome-intro/figs cp gnome-intro/stylesheet-images/*.gif $(distdir)/gnome-intro/stylesheet-images + cp $(omffiles) $(distdir) -- cgit