[cairo-commit] svgslides/src .cvsignore, 1.1, 1.2 Makefile.am, 1.3, 1.4 svgslides-xslt, NONE, 1.1

Carl Worth commit at pdx.freedesktop.org
Sun Apr 17 22:34:44 PDT 2005


Committed by: cworth

Update of /cvs/cairo/svgslides/src
In directory gabe:/tmp/cvs-serv1460/src

Modified Files:
	.cvsignore Makefile.am 
Added Files:
	svgslides-xslt 
Log Message:

        * test/test.xml: Fix missing closing tag.

        * configure.in:
        * src/Makefile.am: Install an svgslides symlink pointing to
        svgslides-4suite.

        * example/.cvsignore: Ignore HTML output files.

        * test/test.xml:
        * example/test.xml: Add title attribute to top slides element,
        which appears to be required for the HTML output stuff.

        * src/.cvsignore: Ignore svgslides-output binary.

        * src/svgslides-xslt: New file (was previously named svgslides).


Index: .cvsignore
===================================================================
RCS file: /cvs/cairo/svgslides/src/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- .cvsignore	10 Feb 2005 22:25:26 -0000	1.1
+++ .cvsignore	18 Apr 2005 05:34:42 -0000	1.2
@@ -1,3 +1,4 @@
+.deps
 Makefile
 Makefile.in
-svgslides
+svgslides-output

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/svgslides/src/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	13 Feb 2005 15:48:03 -0000	1.3
+++ Makefile.am	18 Apr 2005 05:34:42 -0000	1.4
@@ -1,11 +1,15 @@
-bin_SCRIPTS = svgslides svgslides-4suite
+bin_SCRIPTS = svgslides-xslt svgslides-4suite
 
 pkgdata_DATA = svgslides.xsl svgslides.rnc svgslides-index.rnc
 
-
 INCLUDES = @SVGSLIDES_OUTPUT_CFLAGS@
 
 bin_PROGRAMS = svgslides-output
 
 svgslides_output_SOURCES = svgslides-output.c
 svgslides_output_LDADD = @SVGSLIDES_OUTPUT_LIBS@
+
+install-exec-hook:
+	cd $(DESTDIR)$(bindir) && \
+	rm -f svgslides$(EXEEXT) && \
+        $(LN_S) svgslides-4suite$(EXEEXT) svgslides$(EXEEXT)

--- NEW FILE: svgslides-xslt ---
#!/bin/sh

ARGV0=`basename $0`

if [ $# -lt 1 ]; then
	echo "Usage: $0 slides.xml" >&2
	echo "Convert slides in a simple XML format to SVG." >&2
	exit 1
fi

prefix=/opt/fdo
xsltproc --path . ${prefix}/share/svgslides/svgslides.xsl ${1+"$@"}





More information about the cairo-commit mailing list