Commit 5519cb68 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

New file.

2003-09-21  Tor Lillqvist  <tml@iki.fi>

	* librsvg-zip.in: New file.

	* configure.in: Expand librsvg-zip.

	* Makefile.am: Distribute librsvg-zip.in.
parent 8b7ed3cc
2003-09-21 Tor Lillqvist <tml@iki.fi>
* librsvg-zip.in: New file.
* configure.in: Check for Win32, set OS_WIN32 automake
variable. Check for strtok_r.
variable. Check for strtok_r. Expand librsvg-zip.
* Makefile.am: Use -lm only on Unix. Add LIBGSF_LIBS and
LIBCROCO_LIBS to librsvg_2_la_LIBADD.
LIBCROCO_LIBS to librsvg_2_la_LIBADD. Distribute librsvg-zip.in.
* rsvg-css.c: Use G_PI instead of M_PI.
(strtok_r): Implement strtok_r here if not available. (Very
......
......@@ -23,6 +23,7 @@ EXTRA_DIST =\
COPYING.LIB \
librsvg.spec.in \
librsvg-2.0.pc.in \
librsvg-zip.in \
rsvg-gz.c \
rsvg-gz.h \
$(man_MANS)
......
......@@ -302,6 +302,7 @@ librsvg.spec
librsvg-features.h
Makefile
librsvg-2.0.pc
librsvg-zip
doc/Makefile
gtk-engine/Makefile
gtk-engine/examples/Makefile
......
#!/bin/sh
# Build distribution zipfiles for librsvg on Win32: Runtime,
# developer, engine and loader.
ZIP=/tmp/librsvg-@VERSION@.zip
DEVZIP=/tmp/librsvg-dev-@VERSION@.zip
ENGINEZIP=/tmp/svg-gtk-engine-@VERSION@.zip
LOADERZIP=/tmp/svg-gdk-pixbuf-loader-@VERSION@.zip
# The DLL name generated by libtool with the passed --version-info
DLLNAME=librsvg-2-@LIBRSVG_MAJOR_VERSION@.dll
cd @prefix@
rm $ZIP
DLLDIR=lib
[ -f bin/$DLLNAME ] && DLLDIR=bin
zip $ZIP -@ <<EOF
$DLLDIR/$DLLNAME
EOF
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/librsvg-2
lib/librsvg-2.dll.a
lib/pkgconfig/librsvg-2.0.pc
EOF
rm $ENGINEZIP
zip $ENGINEZIP -@ <<EOF
lib/gtk-2.0/2.2.0/engines/libsvg.dll
EOF
rm $LOADERZIP
zip $LOADERZIP -@ <<EOF
lib/gtk-2.0/2.2.0/loaders/svg_loader.dll
EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment