3
3
include /usr/share/quilt/quilt.make
6
build-stamp: $(QUILT_STAMPFN)
5
build: $(QUILT_STAMPFN)
14
[ ! -f Makefile ] || $(MAKE) clean
16
rm -f build-stamp configure-stamp
26
install -D -m 755 src/smsd debian/smstools/usr/sbin/smsd
28
# Install configuration templates
29
install -D -m644 debian/smsd.conf.template \
30
debian/smstools/usr/share/smstools/conf-templates/smsd.conf.template
31
install -D -m644 debian/smsd.modem.template \
32
debian/smstools/usr/share/smstools/conf-templates/smsd.modem.template
34
# Install docs and examples
12
dh --before dh_auto_install $@
14
dh --after dh_auto_install --before dh_installchangelogs $@
15
dh_installchangelogs doc/history3.html
16
dh --after dh_installchangelogs $@
35
18
dh_installdocs doc -Xhistory3.html
36
19
mv debian/smstools/usr/share/doc/smstools/doc debian/smstools/usr/share/doc/smstools/html
37
21
dh_installexamples examples/* scripts
40
chmod -R 644 debian/smstools/usr/share/doc/smstools/examples
42
binary-indep: build install
44
binary-arch: build install
47
dh_installchangelogs doc/history3.html
48
dh_installman debian/smsd*.8
64
binary: binary-indep binary-arch
65
.PHONY: build clean binary-indep binary-arch binary install
23
find debian/smstools/usr/share/doc/smstools -type f -exec chmod 644 \{\} \+
24
chmod 755 debian/smstools/usr/share/doc/smstools/examples/scripts/
31
# install -D -m 755 src/smsd debian/smstools/usr/sbin/smsd
33
# # Install configuration templates
34
# install -D -m644 debian/smsd.conf.template \
35
# debian/smstools/usr/share/smstools/conf-templates/smsd.conf.template
36
# install -D -m644 debian/smsd.modem.template \
37
# debian/smstools/usr/share/smstools/conf-templates/smsd.modem.template