summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hatina <phatina@redhat.com>2012-02-06 17:32:57 +0100
committerPeter Hatina <phatina@redhat.com>2012-02-06 17:32:57 +0100
commit7cd07c2e6426087d4c4d36c74083335098c5d0c1 (patch)
treee8b0867c7cf8f817b5f14c76269da3e9ceb8f0c4
parentcc8befc2000bd401debe298aa061a158eab8f623 (diff)
build: added cachedir option to typelib.py
-rw-r--r--SpiceXPI/src/plugin/Makefile.am11
1 files changed, 9 insertions, 2 deletions
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