debian/rules
author David Douard <david.douard@logilab.fr>
Sun, 26 Oct 2014 18:30:36 +0100
changeset 1736 72ec6c7e956c
parent 1732 09fb0fe7cedb
child 1829 f5485532e84b
child 1833 f35b5bf8bdb3
permissions -rwxr-xr-x
[apycotlib] port to narval 4.2 The connection handler is now a CWProxy (cwclientlib), and there is no CreateSubEntity view any more since we can now create File entity using cwclientlib and rqlcontroller.

#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-arch build-indep
build-arch:
	# Nothing to do

build-indep: build-stamp
build-stamp:
	dh_testdir
	NO_SETUPTOOLS=1 python setup.py -q build
	>$@

clean:
	dh_testdir
	rm -f build-stamp
	rm -rf build
	find . -name "*.pyc" -delete
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs -i
	NO_SETUPTOOLS=1 python setup.py -q install --no-compile --prefix=debian/tmp/usr/

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot -i
	dh_install -i 
	dh_installchangelogs -i
	dh_installexamples -i
	dh_installdocs -i -A README
	dh_installman -i
	dh_python2 -i /usr/share/cubicweb /usr/share/narval
	dh_python2
	dh_link -i
	dh_compress -i -X.py -X.ini -X.xml -Xtest
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i


# Build architecture-dependent files here.
binary-arch:

binary: binary-indep
.PHONY: build clean binary-arch binary-indep binary