mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted
This commit is contained in:
parent
d219f2ae43
commit
2847154b39
@ -199,7 +199,7 @@ dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(srcdir)/qsgen.py \
|
||||
--idlpath=$(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||
--header-output dom_quickstubs.h \
|
||||
--stub-output dom_quickstubs.cpp \
|
||||
--makedepend-output $(MDDEPDIR)/dom_qsgen.pp \
|
||||
@ -209,5 +209,10 @@ dom_quickstubs.cpp: $(srcdir)/dom_quickstubs.qsconf \
|
||||
GARBAGE += \
|
||||
dom_quickstubs.h \
|
||||
dom_quickstubs.cpp \
|
||||
xpidl_debug \
|
||||
$(MDDEPDIR)/dom_qsgen.pp \
|
||||
$(wildcard $(topsrcdir)/other-licenses/ply/ply/*.pyc) \
|
||||
$(wildcard $(topsrcdir)/xpcom/idl-parser/*.pyc) \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE_DIRS += $(DEPTH)/xpcom/idl-parser/cache
|
||||
|
@ -1667,7 +1667,7 @@ def main():
|
||||
if options.cachedir != '':
|
||||
sys.path.append(options.cachedir)
|
||||
if not os.path.isdir(options.cachedir):
|
||||
os.mkdir(options.cachedir)
|
||||
os.makedirs(options.cachedir)
|
||||
|
||||
try:
|
||||
includePath = options.idlpath.split(':')
|
||||
|
Loading…
Reference in New Issue
Block a user