/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release
185 by Teddy Hogeborn
* .bzr-builddeb/default.conf: New.
1
#!/usr/bin/make -f
237.7.472 by Teddy Hogeborn
Support some Debian package build options
2
3
ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
4
    MAKEFLAGS += OPTIMIZE=-O0
5
endif
6
7
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
8
    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
9
    MAKEFLAGS += -j$(NUMJOBS)
10
endif
11
237.7.170 by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using
12
%:
13
	dh $@
14
15
override_dh_auto_build-arch:
297.1.1 by gregor herrmann
* debian/changelog (1.5.3-1.1): New entry.
16
	LC_ALL=en_US.utf8 dh_auto_build -- all doc
237.7.170 by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using
17
18
override_dh_auto_build-indep:
19
	LC_ALL=en_US.utf8 dh_auto_build -- doc
20
21
override_dh_installinit-indep:
237.2.39 by Teddy Hogeborn
* debian/rules (install-indep): Removed "--no-start" from
22
	dh_installinit --onlyscripts \
200 by Teddy Hogeborn
* Makefile: Put the init script before avahi-daemon.
23
		--update-rcd-params="defaults 25 15"
237.7.170 by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using
24
25
override_dh_auto_install-indep:
26
	$(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
27
28
override_dh_auto_install-arch:
29
	$(MAKE) DESTDIR=$(CURDIR)/debian/mandos-client \
30
		install-client-nokey
31
237.7.341 by Teddy Hogeborn
* debian/rules (override_dh_fixperms): Split into
32
override_dh_fixperms-arch:
185 by Teddy Hogeborn
* .bzr-builddeb/default.conf: New.
33
	dh_fixperms --exclude etc/keys/mandos \
218 by Teddy Hogeborn
* Makefile (uninstall-client): Do not remove obsolete README file.
34
		--exclude etc/mandos/plugins.d \
237.7.408 by Teddy Hogeborn
Fix permissions of /etc/mandos/plugin-helpers.
35
		--exclude etc/mandos/plugin-helpers \
237.7.473 by Teddy Hogeborn
Eliminate unnecessary shell commands in Debian package rules
36
		--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugins.d \
37
		--exclude usr/lib/$(DEB_HOST_MULTIARCH)/mandos/plugin-helpers \
237.7.142 by Teddy Hogeborn
* debian/copyright (Copyright): Join the two lines to one line.
38
		--exclude usr/share/doc/mandos-client/examples/network-hooks.d
237.7.170 by Teddy Hogeborn
* debian/control (Build-Depends): Depend on debhelper 8.9.7 for using
39
	chmod --recursive g-w -- \
40
	"$(CURDIR)/debian/mandos-client/usr/share/doc/mandos-client/examples/network-hooks.d"
237.7.231 by Teddy Hogeborn
Do not run self-tests when building arch-indep Debian package.
41
237.7.341 by Teddy Hogeborn
* debian/rules (override_dh_fixperms): Split into
42
override_dh_fixperms-indep:
43
	dh_fixperms --exclude etc/mandos/clients.conf
44
237.7.231 by Teddy Hogeborn
Do not run self-tests when building arch-indep Debian package.
45
override_dh_auto_test-arch: ;