Ignore:
Timestamp:
01/07/08 16:47:30 (4 years ago)
Author:
Freddie Akeroyd
Message:
  • Fix for automake-1.10
  • nxs.py is now editied during the install process to contain the correct path to the NeXus library

Refs #101

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/Makefile.am

    r1000 r1002  
    3131pydocdir        = $(NXDOCDIR)/python 
    3232pydoc_DATA      = README.html 
    33 python_PYTHON = nxs.py setup.py nxstest.py 
     33pkgpython_PYTHON = nxs.py setup.py nxstest.py 
    3434EXTRA_DIST      = README.html 
    3535 
    36 #install-data-hook : 
    37 #       python setup.py install --root=$(DESTDIR) 
     36install-data-hook : 
     37        sed -e "s|nxprefix = .*|nxprefix = \'${prefix}\'|" < ${srcdir}/nxs.py > $(DESTDIR)${pkgpythondir}/nxs.py 
     38 
     39# python setup.py install --root=$(DESTDIR) 
    3840 
    3941include $(top_srcdir)/build_rules.am 
Note: See TracChangeset for help on using the changeset viewer.