rules.in (914:4b96b1c0ae07) 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
8DPKG_EXPORT_BUILDFLAGS = 1

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

17
18config.env.%:
19 dh_testdir
20 mkdir -p $(BUILDDIR_$*)
21 cp -Pa $(CURDIR)/auto $(BUILDDIR_$*)/
22 cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
23 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
24 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
8DPKG_EXPORT_BUILDFLAGS = 1

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

17
18config.env.%:
19 dh_testdir
20 mkdir -p $(BUILDDIR_$*)
21 cp -Pa $(CURDIR)/auto $(BUILDDIR_$*)/
22 cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
23 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
24 cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
25 cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/
25 touch $@
26
27configure.unit: config.env.unit
28 cd $(BUILDDIR_unit) && \
29 CFLAGS= ./configure \
30 %%CONFIGURE_ARGS%% \
31 --modules=/usr/lib/unit/modules \
32 --cc-opt="$(CFLAGS)" && \

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

60 dh_testdir
61 touch $@
62
63clean:
64 dh_testdir
65 dh_testroot
66 dh_clean
67 find $(CURDIR) -maxdepth 1 -size 0 -delete
26 touch $@
27
28configure.unit: config.env.unit
29 cd $(BUILDDIR_unit) && \
30 CFLAGS= ./configure \
31 %%CONFIGURE_ARGS%% \
32 --modules=/usr/lib/unit/modules \
33 --cc-opt="$(CFLAGS)" && \

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

61 dh_testdir
62 touch $@
63
64clean:
65 dh_testdir
66 dh_testroot
67 dh_clean
68 find $(CURDIR) -maxdepth 1 -size 0 -delete
69 rm -rf $(BUILDDIR_unit) $(BUILDDIR_unit_debug)
68
69install: build
70 dh_testdir
71 dh_testroot
72 dh_prep
73 dh_installdirs
74 dh_installinit
75 dh_installlogrotate

--- 27 unchanged lines hidden ---
70
71install: build
72 dh_testdir
73 dh_testroot
74 dh_prep
75 dh_installdirs
76 dh_installinit
77 dh_installlogrotate

--- 27 unchanged lines hidden ---