summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-02-26 14:39:08 +0300
committerAndrei Belov <defan@nginx.com>2019-02-26 14:39:08 +0300
commit79e3185f3318654285766d849c0c06d713517251 (patch)
treeb34200753fd28d72171b8b42cbc30d27a554a3fa /pkg/deb
parentbd1eb7b502e3c9b3c3854fafd6ad360eca11c50a (diff)
downloadunit-79e3185f3318654285766d849c0c06d713517251.tar.gz
unit-79e3185f3318654285766d849c0c06d713517251.tar.bz2
Packages: fixed packages build, broken in 00d8049418cf.
Diffstat (limited to 'pkg/deb')
-rwxr-xr-xpkg/deb/debian.module/rules.in2
-rw-r--r--pkg/deb/debian/rules.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/pkg/deb/debian.module/rules.in b/pkg/deb/debian.module/rules.in
index 22e381fe..e41b05d4 100755
--- a/pkg/deb/debian.module/rules.in
+++ b/pkg/deb/debian.module/rules.in
@@ -22,6 +22,7 @@ config.env.%:
cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/
touch $@
configure.unit: config.env.unit
@@ -65,6 +66,7 @@ clean:
dh_testroot
dh_clean
find $(CURDIR) -maxdepth 1 -size 0 -delete
+ rm -rf $(BUILDDIR_unit) $(BUILDDIR_unit_debug)
install: build
dh_testdir
diff --git a/pkg/deb/debian/rules.in b/pkg/deb/debian/rules.in
index 7eab391d..a8c4c948 100644
--- a/pkg/deb/debian/rules.in
+++ b/pkg/deb/debian/rules.in
@@ -26,6 +26,7 @@ config.env.%:
cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/
+ cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/
touch $@
configure.unit: config.env.unit
@@ -83,6 +84,7 @@ clean:
dh_testroot
dh_clean
find $(CURDIR) -maxdepth 1 -size 0 -delete
+ rm -rf $(BUILDDIR_unit) $(BUILDDIR_unit_debug)
install: build do.tests
dh_testdir