Commit 0d24a32a authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

use configured libdir, remove bashism, based on patch by Mathias

2007-05-02  Jürg Billeter  <j@bitron.ch>

	* vapigen/gidlgen/gidlgen.in: use configured libdir, remove bashism,
	  based on patch by Mathias Hasselmann
	* vapigen/gidlgen/Makefile.am: update

svn path=/trunk/; revision=303
parent 9509dc48
2007-05-02 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gidlgen.in: use configured libdir, remove bashism,
based on patch by Mathias Hasselmann
* vapigen/gidlgen/Makefile.am: update
2007-05-02 Jürg Billeter <j@bitron.ch>
* gobject-introspection, vapigen, vapi/packages: move from vapigen
......
......@@ -45,6 +45,7 @@ AC_CONFIG_FILES([Makefile
doc/Makefile
gobject-introspection/Makefile
vapigen/Makefile
vapigen/gidlgen/Makefile])
vapigen/gidlgen/Makefile
vapigen/gidlgen/gidlgen])
AC_OUTPUT
NULL =
dist_bin_SCRIPTS = \
bin_SCRIPTS = \
gidlgen \
$(NULL)
......@@ -9,3 +9,8 @@ dist_pkglibexec_SCRIPTS = \
gapi2xml.pl \
gapi_pp.pl \
$(NULL)
EXTRA_DIST = \
gidlgen.in
$(NULL)
#!/bin/sh
pkglibdir=$(dirname $0)
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
pkglibdir=${libdir}/vala
SOURCE=$1
PKGBASE=$2
if [ $# -ne 2 ]
then
echo "Usage: $0 SOURCE PKGBASE"
echo "Usage: `basename $0` SOURCE PKGBASE"
exit 1
fi
......@@ -28,7 +31,7 @@ then
patch -d $PKGBASE-src -Np1 < $PKGBASE.patch
fi
perl $pkglibdir/gapi_pp.pl $(cat $PKGBASE.files | sed -e "s@^@$PKGBASE-src/@") | perl $pkglibdir/gapi2xml.pl $(cat $PKGBASE.namespace) $PKGBASE.raw
perl $pkglibdir/gapi_pp.pl `cat $PKGBASE.files | sed -e "s@^@$PKGBASE-src/@"` | perl $pkglibdir/gapi2xml.pl $(cat $PKGBASE.namespace) $PKGBASE.raw
xml_pp $PKGBASE.raw > $PKGBASE.gidl
......
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