summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <joel@JOEL-FEDORA.localdomain>2009-02-12 08:44:10 +0900
committerJoel Bosveld <joel@JOEL-FEDORA.localdomain>2009-02-12 08:44:10 +0900
commitb808453e2c9ec69c9fedf91414309a81077e2ca0 (patch)
treeb4bebdf26bc0d08584d4abfde1ef8f66c46dc297
parent240be80d0c829200f18d6fce20d382641ae0c72a (diff)
downloadphotowheel-b808453e2c9ec69c9fedf91414309a81077e2ca0.tar.gz
photowheel-b808453e2c9ec69c9fedf91414309a81077e2ca0.tar.bz2
Check correctly for gconf schema script. (Thanks to Christopher Williams)compiz-0.8
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e1835ab..0c846fe 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ bcop-target := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDI
bcop-target-src := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN)_options.c; fi )
bcop-target-hdr := $(shell if [ -n "$(is-bcop-target)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN)_options.h; fi )
-gen-schemas := $(shell if [ -e $(PLUGIN).xml.in -o -e $(PLUGIN).xml -a -n "`pkg-config --variable=xsltdir compiz-gconf`" ]; then $(ECHO) true; fi )
+gen-schemas := $(shell if [ \( -e $(PLUGIN).xml.in -o -e $(PLUGIN).xml \) -a -n "`pkg-config --variable=xsltdir compiz-gconf`" ]; then $(ECHO) true; fi )
schema-target := $(shell if [ -n "$(gen-schemas)" ]; then $(ECHO) $(BUILDDIR)/$(PLUGIN).xml; fi )
schema-output := $(shell if [ -n "$(gen-schemas)" ]; then $(ECHO) $(BUILDDIR)/compiz-$(PLUGIN).schema; fi )