equal
deleted
inserted
replaced
9 # Uncomment this to turn on verbose mode. |
9 # Uncomment this to turn on verbose mode. |
10 #export DH_VERBOSE=1 |
10 #export DH_VERBOSE=1 |
11 |
11 |
12 |
12 |
13 |
13 |
14 |
|
15 |
|
16 configure: configure-stamp |
14 configure: configure-stamp |
17 configure-stamp: |
15 configure-stamp: |
18 dh_testdir |
16 dh_testdir |
19 # Add here commands to configure the package. |
17 # Add here commands to configure the package. |
20 |
18 ./configure --prefix=/usr |
21 touch configure-stamp |
19 touch $@ |
22 |
20 |
23 |
21 |
24 build: build-stamp |
22 build: build-stamp |
25 |
23 |
26 build-stamp: configure-stamp |
24 build-stamp: configure-stamp |
27 dh_testdir |
25 dh_testdir |
28 |
26 |
29 # Add here commands to compile the package. |
27 # Add here commands to compile the package. |
30 $(MAKE) |
28 chmod +x ftbackup |
31 #docbook-to-man debian/ftbackup.sgml > ftbackup.1 |
29 #docbook-to-man debian/ftbackup.sgml > ftbackup.1 |
32 |
30 |
33 touch $@ |
31 touch $@ |
34 |
32 |
35 clean: |
33 clean: |
49 dh_installdirs |
47 dh_installdirs |
50 |
48 |
51 # Add here commands to install the package into debian/ftbackup. |
49 # Add here commands to install the package into debian/ftbackup. |
52 $(MAKE) DESTDIR=$(CURDIR)/debian/ftbackup install |
50 $(MAKE) DESTDIR=$(CURDIR)/debian/ftbackup install |
53 |
51 |
|
52 install -d $(CURDIR)/debian/ftbackup/etc/ftbackup |
|
53 install -m 0600 ftbackup.conf.example $(CURDIR)/debian/ftbackup/etc/ftbackup/default |
54 |
54 |
55 # Build architecture-independent files here. |
55 # Build architecture-independent files here. |
56 binary-indep: build install |
56 binary-indep: build install |
57 # We have nothing to do by default. |
57 # We have nothing to do by default. |
58 |
58 |
76 # dh_installinfo |
76 # dh_installinfo |
77 dh_installman |
77 dh_installman |
78 dh_link |
78 dh_link |
79 dh_strip |
79 dh_strip |
80 dh_compress |
80 dh_compress |
81 dh_fixperms |
81 dh_fixperms -X default |
82 # dh_perl |
82 # dh_perl |
83 # dh_makeshlibs |
83 # dh_makeshlibs |
84 dh_installdeb |
84 dh_installdeb |
85 dh_shlibdeps |
85 dh_shlibdeps |
86 dh_gencontrol |
86 dh_gencontrol |