forked from enlightenment/efl
add support for datadir to edje.pc.in resp edje-config.in, so 3rd party apps can find out where edje's data files (most important: edje.inc) are located
SVN revision: 13467
This commit is contained in:
parent
9250830c26
commit
9bd9e51230
|
@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
|
|||
exec_prefix_set=no
|
||||
|
||||
usage="\
|
||||
Usage: edje-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
||||
Usage: edje-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--datadir]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
|
@ -48,6 +48,9 @@ while test $# -gt 0; do
|
|||
libdirs=-L@libdir@
|
||||
echo $libdirs -ledje
|
||||
;;
|
||||
--datadir)
|
||||
echo @datadir@/edje
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
|
|
|
@ -2,6 +2,7 @@ prefix=@prefix@
|
|||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
datadir=@datadir@/edje
|
||||
|
||||
Name: edje
|
||||
Description: Enlightened graphical design and layout engine.
|
||||
|
|
Loading…
Reference in New Issue