Changeset 897

Show
Ignore:
Timestamp:
10/13/07 07:54:28
Author:
dokai
Message:

Custom hook for the deb buildout.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • buildout/pcl.buildout/trunk/hooks/postgis.py

    r832 r897  
    4141               'DLFLAGS=-shared %s' % rpath) 
    4242 
     43def pre_make_deb(options, buildout): 
     44    """Custom pre-make hook for patching PostGIS.""" 
     45    # ``make install`` fails because it tries to write files under 
     46    # /etc. This will write under the corresponding parts directory 
     47    # instead. 
     48    substitute('extras/template_gis/Makefile', 
     49               '\$\(DESTDIR\)', 
     50               '$(prefix)')