Changeset 1048
- Timestamp:
- Jun 13, 2008, 4:00:07 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r1047 r1048 1 1 builtin(include,./tcl.m4) 2 builtin(include,./ac_python_devel.m4) -
trunk/lang/Makefile.in
r1047 r1048 17 17 PERL = @PERL@ 18 18 TCLSH = @TCLSH@ 19 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@ 19 20 PYTHON = @PYTHON@ 20 21 MEX = @MEX@ … … 33 34 LANGS += target_perl 34 35 endif 35 ifneq ($(PYTHON ),)36 ifneq ($(PYTHON_SITE_PACKAGES),) 36 37 LANGS += target_python 37 38 endif -
trunk/lang/python/Makefile.in
r1047 r1048 20 20 PYTHON_FLAGS = --library-dirs=$(libdir):../../src/core \ 21 21 --include-dirs=$(srcdir)/../../src/core:$(includedir) 22 PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@23 22 24 23 # … … 26 25 # into a temporary directory. 27 26 # 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 27 all: copy_sources 37 28 $(PYTHON) setup.py build_ext $(PYTHON_FLAGS) build 38 29 39 copy_sources: 30 copy_sources: 40 31 $(RM) -r build/tmp 41 32 $(INSTALL) -d build/tmp 42 33 $(INSTALL_DATA) $(srcdir)/Rappture/*.cc build/tmp 43 34 44 install: $(MODULE_INSTALL) 45 46 install_module: 35 install: 47 36 $(PYTHON) setup.py install --prefix=$(prefix) 48 37 49 clean: $(MODULE_CLEAN) 50 51 clean_module: 38 clean: 52 39 $(PYTHON) setup.py clean 53 40 $(RM) -rf build
Note: See TracChangeset
for help on using the changeset viewer.