Changeset 1082 for trunk/lang/python
- Timestamp:
- Jul 31, 2008, 3:30:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/python/Makefile.in
r1056 r1082 11 11 12 12 INSTALL = @INSTALL@ 13 MKDIR_P = @MKDIR_P@ 13 14 INSTALL_PROGRAM = ${INSTALL} -m 755 14 15 INSTALL_DATA = ${INSTALL} -m 644 … … 20 21 PYTHON_FLAGS = --library-dirs=$(libdir):../../src/core \ 21 22 --include-dirs=$(srcdir)/../../src/core:$(includedir) 23 PYTHON_VERSION = @PYTHON_VERSION@ 24 pythonlib = $$RAPPTURE_INSTALL_DIR/lib/python$(PYTHON_VERSION)/site-packages 25 22 26 ARCHFLAGS = 23 27 export ARCHFLAGS … … 26 30 # into a temporary directory. 27 31 # 28 all: copy_sources 32 all: copy_sources python.env 29 33 $(PYTHON) setup.py build_ext $(PYTHON_FLAGS) build 30 34 31 35 copy_sources: 32 36 $(RM) -r build/tmp 33 $( INSTALL) -dbuild/tmp37 $(MKDIR_P) build/tmp 34 38 $(INSTALL_DATA) $(srcdir)/Rappture/*.cc build/tmp 35 39 36 40 install: 37 41 $(PYTHON) setup.py install --prefix=$(prefix) 38 42 $(INSTALL) -m 555 python.env $(bindir) 39 43 clean: 40 44 $(PYTHON) setup.py clean 41 45 $(RM) -rf build 42 46 47 python.env: 48 echo 'export PYTHONPATH=$(pythonlib):$$PYTHONPATH' > python.env 49 43 50 distclean: clean
Note: See TracChangeset
for help on using the changeset viewer.