1 #!/usr/bin/make -f 2 3 # Uncomment this to turn on verbose mode. 4 #export DH_VERBOSE=1 5 6 export DH_COMPAT=5 7 8 build: build-stamp 9 10 build-stamp: 11 touch $@ 12 13 clean: 14 dh_testdir 15 dh_testroot 16 rm -f *-stamp 17 dh_clean 18 19 install: build install-prereq 20 # Script fixing would appear here. 21 22 install-prereq: 23 dh_testdir 24 dh_testroot 25 dh_clean -k 26 27 # The WebStack libraries should be installed in the python-webstack package. 28 29 # The WebStack scripts (including Jython/Java-related scripts) should be 30 # installed in the python-webstack package. 31 32 # Build architecture-independent files here. 33 34 binary-indep: install 35 JYTHON_LIB=/usr/share/jython/jython.jar SERVLET_LIB=/usr/share/java/servlet-api.jar tools/JavaServlet/compile.sh 36 dh_testdir -i 37 dh_testroot -i 38 #dh_pycentral -i 39 dh_installdocs -i 40 dh_fixperms -i 41 dh_installdeb -i 42 dh_gencontrol -i 43 dh_md5sums -i 44 dh_builddeb -i 45 46 # Build architecture-dependent files here. 47 48 binary-arch: 49 # Empty rule for this package. 50 51 binary: binary-indep binary-arch 52 .PHONY: build clean binary-arch binary-indep binary install