debian.hardy/rules
changeset 5352 be44c58d3ed9
parent 4542 d2559cc88341
equal deleted inserted replaced
5347:8ebed973819b 5352:be44c58d3ed9
    12 	dh_testdir
    12 	dh_testdir
    13 	# XXX doesn't work if logilab-doctools, logilab-xml are not in build depends
    13 	# XXX doesn't work if logilab-doctools, logilab-xml are not in build depends
    14 	# and I can't get pbuilder find them in its chroot :(
    14 	# and I can't get pbuilder find them in its chroot :(
    15 	# cd doc && make
    15 	# cd doc && make
    16 	# FIXME cleanup and use sphinx-build as build-depends ?
    16 	# FIXME cleanup and use sphinx-build as build-depends ?
    17 	python setup.py build
    17 	NO_SETUPTOOLS=1 python setup.py build
    18 	touch build-stamp
    18 	touch build-stamp
    19 
    19 
    20 clean: 
    20 clean: 
    21 	dh_testdir
    21 	dh_testdir
    22 	dh_testroot
    22 	dh_testroot
    31 	dh_testdir
    31 	dh_testdir
    32 	dh_testroot
    32 	dh_testroot
    33 	dh_clean
    33 	dh_clean
    34 	dh_installdirs
    34 	dh_installdirs
    35 
    35 
    36 	python setup.py -q install --no-compile --prefix=debian/tmp/usr
    36 	NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/tmp/usr
    37 
    37 
    38 	# Put all the python library and data in cubicweb-common
    38 	# Put all the python library and data in cubicweb-common
    39 	# and scripts in cubicweb-server
    39 	# and scripts in cubicweb-server
    40 	dh_install -vi
    40 	dh_install -vi
    41 	# cwctl in the cubicweb-ctl package
    41 	# cwctl in the cubicweb-ctl package