Ignore:
Timestamp:
Aug 4, 2008, 5:51:37 PM (16 years ago)
Author:
gah
Message:

various fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/python/Makefile.in

    r1082 r1090  
    2323PYTHON_VERSION  = @PYTHON_VERSION@
    2424pythonlib       = $$RAPPTURE_INSTALL_DIR/lib/python$(PYTHON_VERSION)/site-packages
     25envfile         = _python.env
    2526
    2627ARCHFLAGS       =
     
    3031# into a temporary directory.
    3132#
    32 all: copy_sources python.env
     33all: copy_sources $(envfile)
    3334        $(PYTHON) setup.py build_ext $(PYTHON_FLAGS) build
    3435
     
    4041install:
    4142        $(PYTHON) setup.py install --prefix=$(prefix)
    42         $(INSTALL) -m 555 python.env $(bindir)
     43        $(INSTALL) -m 555 $(envfile) $(bindir)
    4344clean:
    4445        $(PYTHON) setup.py clean
    4546        $(RM) -rf build
    4647
    47 python.env:
    48         echo 'export PYTHONPATH=$(pythonlib):$$PYTHONPATH' > python.env
     48$(envfile):
     49        echo 'export PYTHONPATH=$(pythonlib):$$PYTHONPATH' > $(envfile)
    4950
    5051distclean: clean
Note: See TracChangeset for help on using the changeset viewer.