This commit was manufactured by cvs2svn to create branch 'uc'.
[gnokii.git] / packaging / Debian / rules
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE=1
4
5 build:  build-stamp
6 build-stamp:
7         dh_testdir
8         ./configure --prefix=/usr --with-x
9         make
10
11 clean:
12         dh_testdir
13         dh_testroot
14         make clean
15         dh_clean
16
17 # Build architecture-independent files here.
18 binary-indep:   build
19
20 # There are no architecture-independent files to be uploaded
21 # generated by this package.  If there were any they would be
22 # made here.
23
24 binary-arch:    build
25 #       dh_testversion
26         dh_testdir
27         dh_testroot
28         dh_installdirs
29         make install prefix=`pwd`/debian/tmp/usr
30         mkdir -p `pwd`/debian/tmp/etc/
31         sed 's#/usr/local/sbin/#/usr/sbin/#' < Docs/sample/gnokiirc > `pwd`/debian/tmp/etc/gnokiirc
32 #       dh_installdebconf       
33 #       dh_installexamples
34         dh_installdocs
35         dh_installmenu
36 #       dh_installemacsen
37 #       dh_installpam
38 #       dh_installinit
39 #       dh_installcron
40 #       dh_installmanpages
41         dh_installinfo
42 #       dh_undocumented
43         dh_installchangelogs
44         dh_link
45         dh_strip
46         dh_compress
47         dh_fixperms
48         # You may want to make some executables suid here.
49         dh_suidregister
50 #       dh_makeshlibs
51         dh_installdeb
52 #       dh_perl
53         dh_shlibdeps
54         dh_gencontrol
55         dh_md5sums
56         dh_builddeb
57
58
59 source diff:
60         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
61
62 binary: binary-indep binary-arch
63 .PHONY: build clean binary-indep binary-arch binary
64