| Line | |
|---|
| 1 |
#! /usr/bin/make -f |
|---|
| 2 |
|
|---|
| 3 |
clean: |
|---|
| 4 |
dh_testdir |
|---|
| 5 |
dh_clean |
|---|
| 6 |
-$(MAKE) clean |
|---|
| 7 |
-rm build-stamp install-stamp |
|---|
| 8 |
|
|---|
| 9 |
build: build-stamp |
|---|
| 10 |
|
|---|
| 11 |
build-stamp: |
|---|
| 12 |
autoconf |
|---|
| 13 |
./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc/reconnoiter --localstatedir=/var/lib/reconnoiter --datarootdir=/usr/share |
|---|
| 14 |
$(MAKE) |
|---|
| 15 |
touch $@ |
|---|
| 16 |
|
|---|
| 17 |
install: build install-stamp |
|---|
| 18 |
install-stamp: |
|---|
| 19 |
dh_testdir |
|---|
| 20 |
dh_testroot |
|---|
| 21 |
dh_clean -k |
|---|
| 22 |
dh_installdirs |
|---|
| 23 |
|
|---|
| 24 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
|---|
| 25 |
-cp -a $(CURDIR)/ui/web $(CURDIR)/debian/tmp/usr/share/reconnoiter/www |
|---|
| 26 |
-cp -a $(CURDIR)/debian/tmp/etc/reconnoiter/noit.conf.sample $(CURDIR)/debian/tmp/etc/reconnoiter/noit.conf |
|---|
| 27 |
-cp -a $(CURDIR)/debian/tmp/etc/reconnoiter/stratcon.conf.sample $(CURDIR)/debian/tmp/etc/reconnoiter/stratcon.conf |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
touch $@ |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
binary-indep: install |
|---|
| 34 |
dh_testdir |
|---|
| 35 |
dh_testroot |
|---|
| 36 |
dh_install -i |
|---|
| 37 |
dh_installdocs -i |
|---|
| 38 |
dh_installchangelogs -i |
|---|
| 39 |
dh_installinit -i |
|---|
| 40 |
dh_installcron -i |
|---|
| 41 |
dh_compress -i |
|---|
| 42 |
dh_fixperms -i |
|---|
| 43 |
dh_installdeb -i |
|---|
| 44 |
dh_gencontrol -i |
|---|
| 45 |
dh_md5sums -i |
|---|
| 46 |
dh_builddeb -i |
|---|
| 47 |
|
|---|
| 48 |
binary-arch: install |
|---|
| 49 |
dh_testdir |
|---|
| 50 |
dh_testroot |
|---|
| 51 |
dh_install -a --autodest |
|---|
| 52 |
dh_installdocs -a |
|---|
| 53 |
dh_installchangelogs -a |
|---|
| 54 |
dh_installinit -a |
|---|
| 55 |
dh_installcron -a |
|---|
| 56 |
dh_makeshlibs -a |
|---|
| 57 |
dh_shlibdeps -a |
|---|
| 58 |
dh_compress -a |
|---|
| 59 |
dh_fixperms -a |
|---|
| 60 |
dh_installdeb -a |
|---|
| 61 |
dh_gencontrol -a |
|---|
| 62 |
dh_md5sums -a |
|---|
| 63 |
dh_builddeb -a |
|---|
| 64 |
|
|---|
| 65 |
binary: binary-arch |
|---|