package for Debian
[fw/altos] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 export DH_VERBOSE=1
5
6 configure: configure-stamp
7 configure-stamp:
8         dh_testdir
9         ./autogen.sh
10         touch configure-stamp
11
12 build: build-stamp
13
14 build-stamp: configure-stamp  
15         dh_testdir
16         $(MAKE)
17         touch $@
18
19 clean: 
20         dh_testdir
21         dh_testroot
22         rm -f build-stamp configure-stamp
23         $(MAKE) distclean
24         dh_clean 
25
26 install: build
27         dh_testdir
28         dh_testroot
29         dh_prep  
30         dh_installdirs
31
32         $(MAKE) DESTDIR=$(CURDIR)/debian/altos install
33
34 # Build architecture-independent files here.
35 binary-indep: install
36 # We have nothing to do by default.
37
38 # Build architecture-dependent files here.
39 binary-arch: install
40         dh_testdir
41         dh_testroot
42         dh_installchangelogs ChangeLog
43         dh_installdocs
44         dh_installexamples
45 #       dh_install
46 #       dh_installmenu
47 #       dh_installdebconf
48 #       dh_installlogrotate
49 #       dh_installemacsen
50 #       dh_installpam
51 #       dh_installmime
52 #       dh_python
53 #       dh_installinit
54 #       dh_installcron
55 #       dh_installinfo
56         dh_installman
57         dh_link
58         dh_strip
59         dh_compress
60         dh_fixperms
61 #       dh_perl
62 #       dh_makeshlibs
63         dh_installdeb
64         dh_shlibdeps
65         dh_gencontrol
66         dh_md5sums
67         dh_builddeb
68
69 binary: binary-indep binary-arch
70 .PHONY: build clean binary-indep binary-arch binary install configure