rules.in (815:fac02786a174) rules.in (957:a7af31b69692)
1#!/usr/bin/make -f
2
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5
6export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
7export DEB_CFLAGS_MAINT_APPEND=-Wp,-D_FORTIFY_SOURCE=2 -fPIC
8export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -pie

--- 12 unchanged lines hidden (view full) ---

21
22config.env.%:
23 dh_testdir
24 mkdir -p $(BUILDDIR_$*)
25 cp -Pa $(CURDIR)/auto $(BUILDDIR_$*)/
26 cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
27 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
28 cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
1#!/usr/bin/make -f
2
3# Uncomment this to turn on verbose mode.
4#export DH_VERBOSE=1
5
6export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
7export DEB_CFLAGS_MAINT_APPEND=-Wp,-D_FORTIFY_SOURCE=2 -fPIC
8export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -pie

--- 12 unchanged lines hidden (view full) ---

21
22config.env.%:
23 dh_testdir
24 mkdir -p $(BUILDDIR_$*)
25 cp -Pa $(CURDIR)/auto $(BUILDDIR_$*)/
26 cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
27 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
28 cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
29 cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/
29 touch $@
30
31configure.unit: config.env.unit
32 cd $(BUILDDIR_unit) && \
33 CFLAGS= ./configure \
34 %%CONFIGURE_ARGS%% \
35 --modules=/usr/lib/unit/modules \
36 --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \

--- 41 unchanged lines hidden (view full) ---

78 dh_testdir
79 touch $@
80
81clean:
82 dh_testdir
83 dh_testroot
84 dh_clean
85 find $(CURDIR) -maxdepth 1 -size 0 -delete
30 touch $@
31
32configure.unit: config.env.unit
33 cd $(BUILDDIR_unit) && \
34 CFLAGS= ./configure \
35 %%CONFIGURE_ARGS%% \
36 --modules=/usr/lib/unit/modules \
37 --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \

--- 41 unchanged lines hidden (view full) ---

79 dh_testdir
80 touch $@
81
82clean:
83 dh_testdir
84 dh_testroot
85 dh_clean
86 find $(CURDIR) -maxdepth 1 -size 0 -delete
87 rm -rf $(BUILDDIR_unit) $(BUILDDIR_unit_debug)
86
87install: build do.tests
88 dh_testdir
89 dh_testroot
90 dh_prep
91 dh_installdirs
92 dh_installinit
93 dh_installlogrotate

--- 30 unchanged lines hidden ---
88
89install: build do.tests
90 dh_testdir
91 dh_testroot
92 dh_prep
93 dh_installdirs
94 dh_installinit
95 dh_installlogrotate

--- 30 unchanged lines hidden ---