summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian.module/rules.in
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-03-01 18:30:09 +0300
committerAndrei Belov <defan@nginx.com>2019-03-01 18:30:09 +0300
commit3c3720cba7154bc168cbd00c74817626bb53e140 (patch)
treeda1500f7c6bd5e90ecf45299b6f4b19a29d521cd /pkg/deb/debian.module/rules.in
parent315a864c27aa27a48c013c4a1ef67a099ffea894 (diff)
parentdf02b03824065389c73213b19736140442cf63bc (diff)
downloadunit-3c3720cba7154bc168cbd00c74817626bb53e140.tar.gz
unit-3c3720cba7154bc168cbd00c74817626bb53e140.tar.bz2
Merged with the default branch.
Diffstat (limited to 'pkg/deb/debian.module/rules.in')
-rwxr-xr-xpkg/deb/debian.module/rules.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/deb/debian.module/rules.in b/pkg/deb/debian.module/rules.in
index 22e381fe..1391e01a 100755
--- a/pkg/deb/debian.module/rules.in
+++ b/pkg/deb/debian.module/rules.in
@@ -22,6 +22,11 @@ config.env.%:
cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/CHANGES $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/LICENSE $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/NOTICE $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/README $(BUILDDIR_$*)/
touch $@
configure.unit: config.env.unit
@@ -65,6 +70,7 @@ clean:
dh_testroot
dh_clean
find $(CURDIR) -maxdepth 1 -size 0 -delete
+ rm -rf $(BUILDDIR_unit) $(BUILDDIR_unit_debug)
install: build
dh_testdir
@@ -78,12 +84,13 @@ install: build
DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%%
cd $(BUILDDIR_unit_debug) && \
DESTDIR=$(INSTALLDIR) make %%MODULE_INSTARGS%%
+%%MODULE_POSTINSTALL%%
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installchangelogs
+ dh_installchangelogs
dh_link
dh_strip --dbg-package=%%NAME%%-dbg
dh_shlibdeps