1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pkgs/deb/rules Sun Jul 10 10:07:31 2011 +0200 1.3 @@ -0,0 +1,91 @@ 1.4 +#!/usr/bin/make -f 1.5 +# -*- makefile -*- 1.6 +# Sample debian/rules that uses debhelper. 1.7 +# This file was originally written by Joey Hess and Craig Small. 1.8 +# As a special exception, when this file is copied by dh-make into a 1.9 +# dh-make output file, you may use that output file without restriction. 1.10 +# This special exception was added by Craig Small in version 0.37 of dh-make. 1.11 + 1.12 +# Uncomment this to turn on verbose mode. 1.13 +#export DH_VERBOSE=1 1.14 + 1.15 + 1.16 + 1.17 + 1.18 + 1.19 +configure: configure-stamp 1.20 +configure-stamp: 1.21 + dh_testdir 1.22 + # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator 1.23 + 1.24 + touch configure-stamp 1.25 + 1.26 + 1.27 +build: build-stamp 1.28 + 1.29 +build-stamp: configure-stamp 1.30 + dh_testdir 1.31 + 1.32 + # Add here commands to compile the package. 1.33 + # $(MAKE) # Uncomment this line for use without Qt Creator 1.34 + #docbook-to-man debian/schachuhr.sgml > schachuhr.1 1.35 + 1.36 + touch $@ 1.37 + 1.38 +clean: 1.39 + dh_testdir 1.40 + dh_testroot 1.41 + rm -f build-stamp configure-stamp 1.42 + 1.43 + # Add here commands to clean up after the build process. 1.44 + $(MAKE) clean 1.45 + 1.46 + dh_clean 1.47 + 1.48 +install: build 1.49 + dh_testdir 1.50 + dh_testroot 1.51 + dh_clean -k 1.52 + dh_installdirs 1.53 + 1.54 + # Add here commands to install the package into debian/schachuhr. 1.55 + $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/schachuhr install 1.56 + 1.57 + 1.58 +# Build architecture-independent files here. 1.59 +binary-indep: build install 1.60 +# We have nothing to do by default. 1.61 + 1.62 +# Build architecture-dependent files here. 1.63 +binary-arch: build install 1.64 + dh_testdir 1.65 + dh_testroot 1.66 + dh_installchangelogs 1.67 + dh_installdocs 1.68 + dh_installexamples 1.69 +# dh_install 1.70 +# dh_installmenu 1.71 +# dh_installdebconf 1.72 +# dh_installlogrotate 1.73 +# dh_installemacsen 1.74 +# dh_installpam 1.75 +# dh_installmime 1.76 +# dh_python 1.77 +# dh_installinit 1.78 +# dh_installcron 1.79 +# dh_installinfo 1.80 + dh_installman 1.81 + dh_link 1.82 + dh_strip 1.83 + dh_compress 1.84 + dh_fixperms 1.85 +# dh_perl 1.86 +# dh_makeshlibs 1.87 + dh_installdeb 1.88 + # dh_shlibdeps # Uncomment this line for use without Qt Creator 1.89 + dh_gencontrol 1.90 + dh_md5sums 1.91 + dh_builddeb 1.92 + 1.93 +binary: binary-indep binary-arch 1.94 +.PHONY: build clean binary-indep binary-arch binary install configure