summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authortsauerbeck <tsauerbeck>2005-02-22 20:36:16 +0000
committertsauerbeck <tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-02-22 20:36:16 +0000
commit9bd9e512309c1d0801d2556f58afb661d83ac059 (patch)
tree90ed40d1c6ab0dba39712a4c42add6af454087ee /legacy
parent9250830c26841b5cd40e07c08f3caf07d2bcc2cc (diff)
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
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/edje-config.in5
-rw-r--r--legacy/edje/edje.pc.in1
2 files changed, 5 insertions, 1 deletions
diff --git a/legacy/edje/edje-config.in b/legacy/edje/edje-config.in
index daaa88d..2201dee 100644
--- a/legacy/edje/edje-config.in
+++ b/legacy/edje/edje-config.in
@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
5exec_prefix_set=no 5exec_prefix_set=no
6 6
7usage="\ 7usage="\
8Usage: edje-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" 8Usage: edje-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--datadir]"
9 9
10if test $# -eq 0; then 10if test $# -eq 0; then
11 echo "${usage}" 1>&2 11 echo "${usage}" 1>&2
@@ -48,6 +48,9 @@ while test $# -gt 0; do
48 libdirs=-L@libdir@ 48 libdirs=-L@libdir@
49 echo $libdirs -ledje 49 echo $libdirs -ledje
50 ;; 50 ;;
51 --datadir)
52 echo @datadir@/edje
53 ;;
51 *) 54 *)
52 echo "${usage}" 1>&2 55 echo "${usage}" 1>&2
53 exit 1 56 exit 1
diff --git a/legacy/edje/edje.pc.in b/legacy/edje/edje.pc.in
index 87b60b0..b322415 100644
--- a/legacy/edje/edje.pc.in
+++ b/legacy/edje/edje.pc.in
@@ -2,6 +2,7 @@ prefix=@prefix@
2exec_prefix=@exec_prefix@ 2exec_prefix=@exec_prefix@
3libdir=@libdir@ 3libdir=@libdir@
4includedir=@includedir@ 4includedir=@includedir@
5datadir=@datadir@/edje
5 6
6Name: edje 7Name: edje
7Description: Enlightened graphical design and layout engine. 8Description: Enlightened graphical design and layout engine.