Changeset 1495

Show
Ignore:
Timestamp:
10/16/09 23:31:33 (5 weeks ago)
Author:
Alexandre Rossi <alexandre.rossi@…>
Hashname:
20091016213133-85ee7-7d0a234e9c7eb9667d004a079fce75e437c921d8
Message:

[debian] ensure deejayd still builds in lenny with old distutils

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • debian/rules

    r1490 r1495  
    99 
    1010PYVERS=$(shell pyversions -vr) 
     11 
     12ifeq ($(PYVERS), 2.5) 
     13        DISTUTILSINSTLAYOUT = 
     14else 
     15        DISTUTILSINSTLAYOUT = --install-layout=deb 
     16endif 
    1117 
    1218build: $(PYVERS:%=build-python%) 
     
    2127        dh_clean -k -s 
    2228        python$* setup.py install --no-compile\ 
    23                         --root $(CURDIR)/debian/tmp --install-layout=deb 
     29                        --root $(CURDIR)/debian/tmp $(DISTUTILSINSTLAYOUT) 
    2430 
    2531        # Fixing example conffile location