diff options
author | Tor Lillqvist <tml@novell.com> | 2005-11-16 19:45:11 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-11-16 19:45:11 +0000 |
commit | d351d225618511973d3977069631286753bc478f (patch) | |
tree | 076c830451259a10ecf15c6150fc9d8419695be1 /libcroco-zip.in | |
parent | 673e0d30edc06f4e51c1a159129010fc9a22149d (diff) | |
download | libcroco-d351d225618511973d3977069631286753bc478f.tar.gz |
New file. libcroco-zip is used to build a libcroco distribution for Win32.
2005-11-16 Tor Lillqvist <tml@novell.com>
* libcroco-zip.in: New file. libcroco-zip is used to build a
libcroco distribution for Win32.
* Makefile.am: Distribute libcroco-zip.in
* configure.in: AC_SUBST also LIBCROCO_CURRENT and LIBCROCO_AGE as
libcroco-zip needs them to construct the DLL name. Check for
Win32, set OS_WIN32 Automake conditional. Expand libcroco-zip.
* src/Makefile.am: Use -no-undefined on Win32. Link libcroco with
GLIB2_LIBS and LIBXML2_LIBS.
Diffstat (limited to 'libcroco-zip.in')
-rwxr-xr-x | libcroco-zip.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libcroco-zip.in b/libcroco-zip.in new file mode 100755 index 0000000..5b6e2ee --- /dev/null +++ b/libcroco-zip.in @@ -0,0 +1,25 @@ +#!/bin/sh + +# Build distribution zipfiles for libcroco on Win32: Runtime and +# developer. + +ZIP=/tmp/libcroco-@VERSION@.zip +DEVZIP=/tmp/libcroco-dev-@VERSION@.zip + +# The DLL name generated by libtool with the passed --version-info +DLLNAME=libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@-`expr @LIBCROCO_CURRENT@ - @LIBCROCO_AGE@`.dll + +cd @prefix@ +rm $ZIP + +zip $ZIP -@ <<EOF +bin/$DLLNAME +EOF + +rm $DEVZIP +zip -r $DEVZIP -@ <<EOF +bin/csslint-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.exe +include/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@ +lib/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.dll.a +lib/pkgconfig/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.pc +EOF |