VirtualBox

Changeset 21730 in vbox for trunk/src/VBox/Main/Makefile.kmk


Ignore:
Timestamp:
Jul 20, 2009 4:48:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50303
Message:

SDK: make documentation match reality, minor refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r21588 r21730  
    163163ifdef VBOX_WITH_PYTHON
    164164
     165# or to some subdir?
     166VBOX_PYTHON_CONSTANTS = $(PATH_TARGET)/VirtualBox_constants.py
     167
    165168INSTALLS += VBox-python-glue
    166169VBox-python-glue_INST = $(INST_SDK)installer
    167 # This file also should go to Python site-wide modules directory
    168 # so for users it look 'just being here'
    169 VBox-python-glue_SOURCES = glue/vboxapi.py=>vboxapi/__init__.py
    170 
    171 VBOX_PYTHON_CONSTANTS = $(VBOX_PATH_SDK)/installer/vboxapi/VirtualBox_constants.py
    172 OTHERS += $(VBOX_PYTHON_CONSTANTS)
     170VBox-python-glue_SOURCES = glue/vboxapi.py=>vboxapi/__init__.py  \
     171                           $(VBOX_PYTHON_CONSTANTS)=>vboxapi/VirtualBox_constants.py
     172
     173$(VBOX_PYTHON_CONSTANTS):  $(VBOX_PATH_MAIN_SRC)/glue/constants-python.xsl $(VBOX_XIDL_FILE) | $$(dir $$@)
     174        $(call MSG_TOOL,xsltproc,Python constants,$<,$@)
     175        $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    173176
    174177endif # VBOX_WITH_PYTHON
     
    763766        $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    764767
    765 $(VBOX_PYTHON_CONSTANTS):  $(VBOX_PATH_MAIN_SRC)/glue/constants-python.xsl $(VBOX_XIDL_FILE) | $$(dir $$@)
    766         $(call MSG_TOOL,xsltproc,Python constants,$<,$@)
    767         $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    768 
    769768# Aliases for testing purposes.
    770769ifdef VBOX_WITH_XPCOM
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette