Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted
authorKyle Huey <khuey@kylehuey.com>
Fri, 12 Aug 2011 12:07:09 -0400
changeset 74713 27023581b24ac987d8ccb789b169316addc5fd8a
parent 74712 b9854d39643ab27a9fdb938211411536083471be
child 74715 1152582647874054db5be23554d9986860bf0ac9
push idunknown
push userunknown
push dateunknown
reviewersted
bugs678479
milestone8.0a1
Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted
xpcom/Makefile.in
--- a/xpcom/Makefile.in
+++ b/xpcom/Makefile.in
@@ -85,8 +85,14 @@ endif
 SDK_HEADERS	= xpcom-config.h
 
 ifdef DEHYDRA_PATH
 DIRS += analysis
 endif
 
 include $(topsrcdir)/config/rules.mk
 
+regenerate-idl-parser:
+	$(PYTHON_PATH) \
+	  -I$(topsrcdir)/other-licenses/ply \
+	  -I$(topsrcdir)/xpcom/idl-parser \
+	  $(topsrcdir)/xpcom/idl-parser/header.py --cachedir=$(topsrcdir)/xpcom/idl-parser --regen
+