[Spice-commits] SpiceXPI/src

Peter Hatina phatina at kemper.freedesktop.org
Mon Feb 6 08:39:50 PST 2012


 SpiceXPI/src/plugin/Makefile.am |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 7cd07c2e6426087d4c4d36c74083335098c5d0c1
Author: Peter Hatina <phatina at redhat.com>
Date:   Mon Feb 6 17:32:57 2012 +0100

    build: added cachedir option to typelib.py

diff --git a/SpiceXPI/src/plugin/Makefile.am b/SpiceXPI/src/plugin/Makefile.am
index b2c83ab..a17ac4d 100644
--- a/SpiceXPI/src/plugin/Makefile.am
+++ b/SpiceXPI/src/plugin/Makefile.am
@@ -70,10 +70,10 @@ nsISpicec.xpt: nsISpicec.idl
 	$(XPIDL) -m typelib -I $(SDK_INCLUDE_DIR) $<
 else
 nsISpicec.h: nsISpicec.idl
-	$(PYTHON) `pkg-config --variable=sdkdir libxul`/sdk/bin/header.py -I $(SDK_INCLUDE_DIR) $< -o $@
+	$(PYTHON) `pkg-config --variable=sdkdir libxul`/sdk/bin/header.py --cachedir . -I $(SDK_INCLUDE_DIR) $< -o $@
 
 nsISpicec.xpt: nsISpicec.idl
-	$(PYTHON) `pkg-config --variable=sdkdir libxul`/sdk/bin/typelib.py -I $(SDK_INCLUDE_DIR) $< -o $@
+	$(PYTHON) `pkg-config --variable=sdkdir libxul`/sdk/bin/typelib.py --cachedir . -I $(SDK_INCLUDE_DIR) $< -o $@
 endif
 
 BUILT_SOURCES =					\
@@ -83,3 +83,10 @@ BUILT_SOURCES =					\
 
 distclean-local:
 	rm -f $(BUILT_SOURCES)
+
+CLEANFILES = \
+	xpidllex.py   \
+	xpidllex.pyc  \
+	xpidlyacc.py  \
+	xpidlyacc.pyc \
+	xpidl_debug


More information about the Spice-commits mailing list