/[debian]/teleschorsch/trunk/debian/rules
ViewVC logotype

Contents of /teleschorsch/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1249 - (show annotations)
Fri Mar 28 22:49:00 2008 UTC (13 years, 4 months ago) by gregoa
File size: 1742 byte(s)
Add lintian override for desktop-command-not-in-package, install it with
dh_lintian, make dependency on debhelper versioned.
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 CFLAGS = -Wall -g
13
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
15 CFLAGS += -O0
16 else
17 CFLAGS += -O2
18 endif
19
20 configure: configure-stamp
21 configure-stamp:
22 dh_testdir
23 lrelease qteleschorsch.pro
24 qmake
25 touch $@
26
27 build: build-stamp
28 build-stamp: configure-stamp
29 dh_testdir
30 $(MAKE)
31 convert -geometry 32x32 teleschorsch.png debian/teleschorsch32.xpm
32 convert -geometry 16x16 teleschorsch.png debian/teleschorsch16.xpm
33 touch $@
34
35 clean:
36 dh_testdir
37 dh_testroot
38 dh_clean debian/teleschorsch*.xpm *.qm configure-stamp build-stamp install-stamp
39 [ ! -f Makefile ] || $(MAKE) distclean
40
41 install: install-stamp
42 install-stamp: build-stamp
43 dh_testdir
44 dh_testroot
45 dh_clean -k
46 dh_installdirs
47
48 # Build architecture-independent files here.
49 binary-indep: build install
50 # We have nothing to do by default.
51
52 # Build architecture-dependent files here.
53 binary-arch: build install
54 dh_testdir
55 dh_testroot
56 dh_installchangelogs ChangeLog
57 dh_installdocs
58 dh_install
59 dh_installmenu
60 dh_desktop
61 dh_lintian
62 dh_installman teleschorsch.1
63 dh_link usr/share/man/man1/teleschorsch.1 usr/share/man/man1/qteleschorsch.1
64 dh_strip
65 dh_compress
66 dh_fixperms
67 dh_installdeb
68 dh_shlibdeps
69 dh_gencontrol
70 dh_md5sums
71 dh_builddeb
72
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26