diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-03-30 16:03:41 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-03-30 16:03:41 -0700 |
commit | 73c6c8a7f7cae0ef18131c6db000bffd82ce9593 (patch) | |
tree | 53484adedb5cc55e0723f773f9f16b7429bb6400 /pkg/deb/debian | |
parent | c54331fa3d9597ba6bc85e7b7242981f00ed25c2 (diff) | |
download | unit-73c6c8a7f7cae0ef18131c6db000bffd82ce9593.tar.gz unit-73c6c8a7f7cae0ef18131c6db000bffd82ce9593.tar.bz2 |
Packages: added unitc and setup-unit.
Diffstat (limited to 'pkg/deb/debian')
-rw-r--r-- | pkg/deb/debian/dirs | 1 | ||||
-rw-r--r-- | pkg/deb/debian/rules.in | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pkg/deb/debian/dirs b/pkg/deb/debian/dirs index 4a6618c8..2568bac1 100644 --- a/pkg/deb/debian/dirs +++ b/pkg/deb/debian/dirs @@ -1,3 +1,4 @@ +usr/bin usr/sbin usr/lib/unit var/lib/unit diff --git a/pkg/deb/debian/rules.in b/pkg/deb/debian/rules.in index 01604e86..46286e83 100644 --- a/pkg/deb/debian/rules.in +++ b/pkg/deb/debian/rules.in @@ -32,6 +32,7 @@ config.env.%: njs cp -Pa $(CURDIR)/configure $(BUILDDIR_$*)/ cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/ cp -Pa $(CURDIR)/test $(BUILDDIR_$*)/ + cp -Pa $(CURDIR)/tools $(BUILDDIR_$*)/ cp -Pa $(CURDIR)/version $(BUILDDIR_$*)/ cp -Pa $(CURDIR)/CHANGES $(BUILDDIR_$*)/ cp -Pa $(CURDIR)/LICENSE $(BUILDDIR_$*)/ @@ -112,6 +113,8 @@ install: build do.tests dh_installlogrotate cd $(BUILDDIR_unit) && DESTDIR=$(INSTALLDIR) make install cd $(BUILDDIR_unit) && DESTDIR=$(INSTALLDIR_dev) make libunit-install + install -m 755 $(BUILDDIR_unit)/tools/unitc $(INSTALLDIR)/usr/bin/unitc + install -m 755 $(BUILDDIR_unit)/tools/setup-unit $(INSTALLDIR)/usr/bin/setup-unit install -m 755 $(BUILDDIR_unit_debug)/build/sbin/unitd $(INSTALLDIR)/usr/sbin/unitd-debug install -m 644 $(BUILDDIR_unit_debug)/build/lib/libunit.a $(INSTALLDIR_dev)/usr/lib/$(DEB_HOST_MULTIARCH)/libunit-debug.a mkdir -p $(INSTALLDIR)/usr/share/doc/unit/examples |