pkgs/deb/rules

Sun, 10 Jul 2011 10:27:37 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 10 Jul 2011 10:27:37 +0200
changeset 10
5b52bd88259b
permissions
-rwxr-xr-x

Ignore files forcefully added when starting Qt Creator (it's hard coded.)

michael@9 1 #!/usr/bin/make -f
michael@9 2 # -*- makefile -*-
michael@9 3 # Sample debian/rules that uses debhelper.
michael@9 4 # This file was originally written by Joey Hess and Craig Small.
michael@9 5 # As a special exception, when this file is copied by dh-make into a
michael@9 6 # dh-make output file, you may use that output file without restriction.
michael@9 7 # This special exception was added by Craig Small in version 0.37 of dh-make.
michael@9 8
michael@9 9 # Uncomment this to turn on verbose mode.
michael@9 10 #export DH_VERBOSE=1
michael@9 11
michael@9 12
michael@9 13
michael@9 14
michael@9 15
michael@9 16 configure: configure-stamp
michael@9 17 configure-stamp:
michael@9 18 dh_testdir
michael@9 19 # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
michael@9 20
michael@9 21 touch configure-stamp
michael@9 22
michael@9 23
michael@9 24 build: build-stamp
michael@9 25
michael@9 26 build-stamp: configure-stamp
michael@9 27 dh_testdir
michael@9 28
michael@9 29 # Add here commands to compile the package.
michael@9 30 # $(MAKE) # Uncomment this line for use without Qt Creator
michael@9 31 #docbook-to-man debian/schachuhr.sgml > schachuhr.1
michael@9 32
michael@9 33 touch $@
michael@9 34
michael@9 35 clean:
michael@9 36 dh_testdir
michael@9 37 dh_testroot
michael@9 38 rm -f build-stamp configure-stamp
michael@9 39
michael@9 40 # Add here commands to clean up after the build process.
michael@9 41 $(MAKE) clean
michael@9 42
michael@9 43 dh_clean
michael@9 44
michael@9 45 install: build
michael@9 46 dh_testdir
michael@9 47 dh_testroot
michael@9 48 dh_clean -k
michael@9 49 dh_installdirs
michael@9 50
michael@9 51 # Add here commands to install the package into debian/schachuhr.
michael@9 52 $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/schachuhr install
michael@9 53
michael@9 54
michael@9 55 # Build architecture-independent files here.
michael@9 56 binary-indep: build install
michael@9 57 # We have nothing to do by default.
michael@9 58
michael@9 59 # Build architecture-dependent files here.
michael@9 60 binary-arch: build install
michael@9 61 dh_testdir
michael@9 62 dh_testroot
michael@9 63 dh_installchangelogs
michael@9 64 dh_installdocs
michael@9 65 dh_installexamples
michael@9 66 # dh_install
michael@9 67 # dh_installmenu
michael@9 68 # dh_installdebconf
michael@9 69 # dh_installlogrotate
michael@9 70 # dh_installemacsen
michael@9 71 # dh_installpam
michael@9 72 # dh_installmime
michael@9 73 # dh_python
michael@9 74 # dh_installinit
michael@9 75 # dh_installcron
michael@9 76 # dh_installinfo
michael@9 77 dh_installman
michael@9 78 dh_link
michael@9 79 dh_strip
michael@9 80 dh_compress
michael@9 81 dh_fixperms
michael@9 82 # dh_perl
michael@9 83 # dh_makeshlibs
michael@9 84 dh_installdeb
michael@9 85 # dh_shlibdeps # Uncomment this line for use without Qt Creator
michael@9 86 dh_gencontrol
michael@9 87 dh_md5sums
michael@9 88 dh_builddeb
michael@9 89
michael@9 90 binary: binary-indep binary-arch
michael@9 91 .PHONY: build clean binary-indep binary-arch binary install configure

mercurial