Copy our components via the EXTRA_COMPONENTS Makefile variable.

Not part of the build.
This commit is contained in:
mhammond%skippinet.com.au 2006-06-06 07:06:41 +00:00
parent ac46cb33f7
commit 86a4ed2cf5
2 changed files with 7 additions and 18 deletions

View File

@ -48,17 +48,10 @@ MODULE = pyxpcom
XPIDL_MODULE = pyxpcom_test
REQUIRES = xpcom string $(NULL)
XPIDLSRCS =
PYCOMPONENTS=pyabout.py
PYCOMPONENTS_INST := $(addprefix $(srcdir)/,$(PYCOMPONENTS))
XPIDLSRCS =
include $(topsrcdir)/config/config.mk
EXTRA_COMPONENTS = pyabout.py
include $(topsrcdir)/config/rules.mk
libs::
$(INSTALL) $(PYCOMPONENTS_INST) $(DIST)/bin/components
clobber::
$(RM) $(DIST)/bin/components/py_test_component.py
$(RM) $(DIST)/bin/components/pyxpcom_test.xpt

View File

@ -51,11 +51,7 @@ REQUIRES = xpcom string $(NULL)
XPIDLSRCS = py_test_component.idl
include $(topsrcdir)/config/config.mk
EXTRA_COMPONENTS = py_test_component.py
include $(topsrcdir)/config/rules.mk
libs::
$(INSTALL) $(srcdir)/py_test_component.py $(DIST)/bin/components
clobber::
$(RM) $(DIST)/bin/components/py_test_component.py
$(RM) $(DIST)/bin/components/pyxpcom_test.xpt