summaryrefslogtreecommitdiffstats
path: root/introduction-to-gnome
diff options
context:
space:
mode:
authorDan Mueth <dan@eazel.com>2001-03-12 08:20:35 +0000
committerDan Mueth <dmueth@src.gnome.org>2001-03-12 08:20:35 +0000
commit72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e (patch)
tree3f06403942058c8d16aee5773b84368a7615f3fa /introduction-to-gnome
parent93d84de72d66cfee121f3ea70f667141a75861bb (diff)
downloadgnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.tar.gz
gnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.tar.xz
gnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.zip
Setting up basics of build system. Still needs some tweaking.
2001-03-12 Dan Mueth <dan@eazel.com> Setting up basics of build system. Still needs some tweaking. * AUTHORS: * COPYING: * COPYING-DOCS: * Makefile.am: * autogen.sh: * configure.in: * gnome-user-docs.spec.in: * sgmldocs.make: * omf-install/Makefile.am: * introduction-to-gnome/Makefile.am: * introduction-to-gnome/C/Makefile.am: Removing these for now, until we can fix up the build to properly do PS docs. * introduction-to-gnome/C/figures/Makefile: * introduction-to-gnome/C/figures/gnome-logo-large.png: * introduction-to-gnome/C/figures/img2eps: Renaming gnome-intro... to introduction-to-gnome... Sasha wrote these docs. * introduction-to-gnome/C/gnome-intro-C.omf: * introduction-to-gnome/C/gnome-intro.sgml: * introduction-to-gnome/C/introduction-to-gnome-C.omf: * introduction-to-gnome/C/introduction-to-gnome.sgml:
Diffstat (limited to 'introduction-to-gnome')
-rw-r--r--introduction-to-gnome/C/Makefile.am101
-rw-r--r--introduction-to-gnome/C/figures/Makefile18
-rw-r--r--introduction-to-gnome/C/figures/gnome-logo-large.pngbin23473 -> 0 bytes
-rwxr-xr-xintroduction-to-gnome/C/figures/img2eps58
-rw-r--r--introduction-to-gnome/C/introduction-to-gnome-C.omf (renamed from introduction-to-gnome/C/gnome-intro-C.omf)6
-rw-r--r--[-rwxr-xr-x]introduction-to-gnome/C/introduction-to-gnome.sgml (renamed from introduction-to-gnome/C/gnome-intro.sgml)8
-rw-r--r--introduction-to-gnome/Makefile.am4
7 files changed, 15 insertions, 180 deletions
diff --git a/introduction-to-gnome/C/Makefile.am b/introduction-to-gnome/C/Makefile.am
index 761006f..8f1d3fd 100644
--- a/introduction-to-gnome/C/Makefile.am
+++ b/introduction-to-gnome/C/Makefile.am
@@ -1,93 +1,10 @@
-omffiles=gnome-intro-C.omf
-omf_dir=$(top_srcdir)/omf-install
-
-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 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
- rm -rf gnome-intro.junk
- rm -f figs/*.eps
- rm -f *.log *.aux *.dvi *.tex
- rm -rf DB2*OUTPUT*
- rm -rf DBTO*OUTPUT*
- rm -f index.html
-
-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
- cp $(omffiles) $(distdir)
+figs = \
+ figures/desktop.png \
+ figures/microguiborder.png
+docname = introduction-to-gnome
+lang = C
+omffile = introduction-to-gnome-C.omf
+sgml_ents =
+include $(top_srcdir)/sgmldocs.make
+dist-hook: app-dist-hook
diff --git a/introduction-to-gnome/C/figures/Makefile b/introduction-to-gnome/C/figures/Makefile
deleted file mode 100644
index a6f3397..0000000
--- a/introduction-to-gnome/C/figures/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-#This Makefile converts all of the .png images used in the GDP
-#Handbook to .eps for postscript output. The img2eps script
-#converts the image and scales it to your specifications. You will
-#need to determine the width you would like your image to display on
-#paper before adding the image to this file. The width parameter will
-#scale your image in inches. Make sure to add the new image to the
-#"all" section as well.
-
-all: desktop.eps gnome-logo-large.eps microguiborder.eps
-
-desktop.eps: desktop.png
- ./img2eps desktop.png
-
-gnome-logo-large.eps: gnome-logo-large.png
- ./img2eps gnome-logo-large.png
-
-microguiborder.eps: microguiborder.png
- ./img2eps microguiborder.png
diff --git a/introduction-to-gnome/C/figures/gnome-logo-large.png b/introduction-to-gnome/C/figures/gnome-logo-large.png
deleted file mode 100644
index 495e3c5..0000000
--- a/introduction-to-gnome/C/figures/gnome-logo-large.png
+++ /dev/null
Binary files differ
diff --git a/introduction-to-gnome/C/figures/img2eps b/introduction-to-gnome/C/figures/img2eps
deleted file mode 100755
index eebd959..0000000
--- a/introduction-to-gnome/C/figures/img2eps
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/perl
-#
-#
-# convert image to Encapsulated Postscript, with possible scaling of width
-#
-
-$width = "";
-
-if ($ARGV[0] =~ /^--width=(.+)$/) {
- $width = $1;
- shift (@ARGV);
-}
-
-#print "width =",$width,"\n";
-
-#print "argv =",$ARGV[0],"\n";
-
-$infile = $ARGV[0];
-
-if (!(-e $infile)) {
-print "File doesn't exist\n";
-exit 1;
-}
-
-$imagesz = `identify $ARGV[0]`;
-
-($name, $size, $rest) = split / /, $imagesz, 3;
-#print $name, " ", $size, " ", $rest, "\n";
-#print "imagesz = ",$size,"\n";
-
-($x, $y) = split /x/, $size, 2;
-($y, $rest) = split /\+/, $y, 2;
-
-#print $x," by ",$y, "\n";
-
-#
-# if width set, we need to scale
-#
-
-if ($width != "") {
- $scale = $width * (72.0/$x);
-} else {
- $scale = 1;
-}
-
-$scale = 72.0/$scale;
-#print "scale = ",$scale,"\n";
-
-$outfile = $infile;
-$outfile =~ s/\.png/\.eps/;
-
-#print $infile," ",$outfile,"\n";
-system("convert $infile tmpimage.pgm");
-#system("giftopnm $infile | ppmtopgm > tmpimage.pgm");
-system("convert -density $scale tmpimage.pgm $outfile");
-system("rm tmpimage.pgm");
-
-
diff --git a/introduction-to-gnome/C/gnome-intro-C.omf b/introduction-to-gnome/C/introduction-to-gnome-C.omf
index cf9eee1..f41f83c 100644
--- a/introduction-to-gnome/C/gnome-intro-C.omf
+++ b/introduction-to-gnome/C/introduction-to-gnome-C.omf
@@ -2,13 +2,13 @@
<omf>
<resource>
<title>
- Introduction to Gnome
+ Introduction to GNOME
</title>
<subject>
<category>GNOME</category>
</subject>
<format mime="text/sgml"/>
- <identifier url="gnome-intro.sgml"/>
+ <identifier url="introduction-to-gnome.sgml"/>
<language code="C"/>
</resource>
-</omf> \ No newline at end of file
+</omf>
diff --git a/introduction-to-gnome/C/gnome-intro.sgml b/introduction-to-gnome/C/introduction-to-gnome.sgml
index 16236c8..e255f39 100755..100644
--- a/introduction-to-gnome/C/gnome-intro.sgml
+++ b/introduction-to-gnome/C/introduction-to-gnome.sgml
@@ -9,10 +9,8 @@
</author>
</authorgroup>
- <graphic fileref="./figs/gnome-logo-large" format="png"></graphic>
-
<releaseinfo>
- This is a beta draft of Introduction to Gnome for Gnome 1.4
+ This is a draft of Introduction to Gnome for Gnome 1.4
</releaseinfo>
@@ -189,7 +187,7 @@
<title>Sample Gnome Display.</title>
<screenshot>
<screeninfo>Sample Gnome Display</screeninfo>
- <graphic format="png" fileref="./figs/desktop" srccredit="sasha">
+ <graphic format="png" fileref="figures/desktop" srccredit="sasha">
</graphic>
</screenshot>
</figure>
@@ -391,7 +389,7 @@
<title>Window Border in MicroGUI Style.</title>
<screenshot>
<screeninfo>Window border in MicroGUI style</screeninfo>
- <graphic format="png" fileref="./figs/microguiborder" srccredit="sasha">
+ <graphic format="png" fileref="figures/microguiborder" srccredit="sasha">
</graphic>
</screenshot>
</figure>
diff --git a/introduction-to-gnome/Makefile.am b/introduction-to-gnome/Makefile.am
index c417594..42ffacc 100644
--- a/introduction-to-gnome/Makefile.am
+++ b/introduction-to-gnome/Makefile.am
@@ -1,5 +1 @@
SUBDIRS = C
-
-cvsclean:
- $(MAKE) -C C cvsclean
-