summaryrefslogtreecommitdiffstats
path: root/introduction-to-gnome
diff options
context:
space:
mode:
authorKenny Graunke <kwg@teleport.com>2000-11-28 01:54:32 +0000
committerKenny Graunke <kenny@src.gnome.org>2000-11-28 01:54:32 +0000
commit490f795d70a71088e4586bdc586e7db74005c652 (patch)
treeccd5bd9df0a124ac6ee111de87d81c052855a3bc /introduction-to-gnome
parent2d9372dbbf22c888c1f7f0a7d92aa616e40c2172 (diff)
downloadgnome-user-docs-490f795d70a71088e4586bdc586e7db74005c652.tar.gz
gnome-user-docs-490f795d70a71088e4586bdc586e7db74005c652.tar.xz
gnome-user-docs-490f795d70a71088e4586bdc586e7db74005c652.zip
Added a build system.
2000-11-27 Kenny Graunke <kwg@teleport.com> Added a build system. * AUTHORS: * COPYING: * COPYING-DOCS: * Makefile.am: * autogen.sh: * configure.in: * glossary/Makefile.am: * gnome-user-docs.spec.in: * install-sh: * intro/Makefile.am: * intro/figs/Makefile: * intro/figs/img2eps: * mkinstalldirs: * unix-primer/Makefile.am:
Diffstat (limited to 'introduction-to-gnome')
-rw-r--r--introduction-to-gnome/Makefile.am83
1 files changed, 83 insertions, 0 deletions
diff --git a/introduction-to-gnome/Makefile.am b/introduction-to-gnome/Makefile.am
new file mode 100644
index 0000000..04d42b5
--- /dev/null
+++ b/introduction-to-gnome/Makefile.am
@@ -0,0 +1,83 @@
+
+gnome_user_docs_intro_helpdir = $(datadir)/gnome/help/gnome-intro/C
+
+gnome_user_docs_intro_help_DATA = gnome-intro.sgml
+
+# the "portable" `basename' stand-in should work for the files that we
+# throw at it
+install-data-local: index.html
+ $(mkinstalldirs) $(gnome_user_docs_intro_helpdir)
+ $(mkinstalldirs) $(gnome_user_docs_intro_helpdir)/figs
+ $(mkinstalldirs) $(gnome_user_docs_intro_helpdir)/stylesheet-images
+ $(INSTALL_DATA) $(srcdir)/index.html $(gnome_user_docs_intro_helpdir)/
+ $(INSTALL_DATA) $(srcdir)/gnome-intro.sgml $(gnome_user_docs_intro_helpdir)/
+
+ for file in gnome-intro/*.html; do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(gnome_user_docs_intro_helpdir)/$$basefile; \
+ done
+ for file in gnome-intro/*.css; do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(gnome_user_docs_intro_helpdir)/$$basefile; \
+ done
+ for file in gnome-intro/figs/*.png; do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(gnome_user_docs_intro_helpdir)/figs/$$basefile; \
+ done
+ for file in gnome-intro/stylesheet-images/*.gif; do \
+ basefile=`echo $$file | sed -e 's,^.*/,,'`; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(gnome_user_docs_intro_helpdir)/stylesheet-images/$$basefile; \
+ done
+
+EXTRA_DIST = $(gnome_user_docs_intro_help_DATA)
+
+manual-html: index.html
+manual-ps: gnome-intro.ps
+manual-pdf: gnome-intro.pdf
+manual-rtf: gnome-intro.rtf
+manual-all: manual-html manual-ps manual-pdf manual-rtf
+
+all: index.html
+
+clean:
+ rm -rf gnome-intro
+ rm -rf gnome-intro.junk
+ rm -f figs/*.eps
+ rm -f *.log *.aux *.dvi *.tex
+ rm -rf DB2*OUTPUT*
+ rm -rf DBTO*OUTPUT*
+
+cvsclean: clean
+ [ -f Makefile.am ] && rm Makefile.in Makefile
+
+gnome-intro.ps: gnome-intro.sgml
+ $(MAKE) -C figs
+ db2ps $<
+
+gnome-intro.pdf: gnome-intro.ps
+ ps2pdf $<
+
+gnome-intro.rtf: gnome-intro.sgml
+ $(MAKE) -C figs
+ db2rtf $<
+
+index.html: gnome-intro/index.html
+ cd $(srcdir) \
+ && cp gnome-intro/index.html index.html
+
+gnome-intro/index.html: gnome-intro.sgml
+ -(db2html gnome-intro.sgml \
+ && mkdir -p gnome-intro/figs \
+ && cp $(srcdir)/figs/*.png gnome-intro/figs || exit 1)
+
+
+dist-hook: all
+ mkdir $(distdir)/gnome-intro
+ mkdir $(distdir)/gnome-intro/figs
+ mkdir $(distdir)/gnome-intro/stylesheet-images
+ cp gnome-intro/*.html $(distdir)/gnome-intro
+ cp gnome-intro.sgml $(distdir)/gnome-intro
+ 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
+