Changeset 1047 for trunk/lang/python/Makefile.in
- Timestamp:
- Jun 13, 2008, 3:57:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/Makefile.in
r1029 r1047 20 20 PYTHON_FLAGS = --library-dirs=$(libdir):../../src/core \ 21 21 --include-dirs=$(srcdir)/../../src/core:$(includedir) 22 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@ 22 23 23 24 # … … 25 26 # into a temporary directory. 26 27 # 27 all: copy_sources 28 ifneq($(PYTHON_SITE_PACKAGES),) 29 MODULE_BUILD = build_module 30 MODULE_INSTALL = install_module 31 MODULE_CLEAN = clean_module 32 endif 33 34 all: $(MODULE_BUILD) 35 36 build_module: copy_sources 28 37 $(PYTHON) setup.py build_ext $(PYTHON_FLAGS) build 29 38 30 copy_sources: 39 copy_sources: 31 40 $(RM) -r build/tmp 32 41 $(INSTALL) -d build/tmp 33 42 $(INSTALL_DATA) $(srcdir)/Rappture/*.cc build/tmp 34 43 35 install: 44 install: $(MODULE_INSTALL) 45 46 install_module: 36 47 $(PYTHON) setup.py install --prefix=$(prefix) 37 48 38 clean: 49 clean: $(MODULE_CLEAN) 50 51 clean_module: 39 52 $(PYTHON) setup.py clean 40 53 $(RM) -rf build
Note: See TracChangeset
for help on using the changeset viewer.