Builds
This commit is contained in:
parent
bbc2531280
commit
0c6a77e3d2
3 changed files with 5 additions and 9 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
|
@ -1,4 +1,4 @@
|
|||
libnginx-mod-http-otel (1.0.0~rc-5) unstable; urgency=medium
|
||||
libnginx-mod-http-otel (1.0.0) unstable; urgency=medium
|
||||
|
||||
* Initial Release
|
||||
|
||||
|
|
|
|||
1
debian/libnginx-mod-http-otel.install
vendored
1
debian/libnginx-mod-http-otel.install
vendored
|
|
@ -1 +0,0 @@
|
|||
/usr/lib/nginx/modules/ngx_http_otel_module.so
|
||||
11
debian/rules
vendored
11
debian/rules
vendored
|
|
@ -7,10 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|||
%:
|
||||
dh $@
|
||||
|
||||
NGINX_VERSION = $(shell /usr/sbin/nginx -V 2>&1 | sed -ne 's,nginx version: nginx/,,p')
|
||||
DEB_VERSION_EPOCH = $(call dpkg_late_eval,DEB_VERSION_EPOCH,echo '$(DEB_VERSION_EPOCH_UPSTREAM)' | sed -e 's/[^:]*$$//')
|
||||
DEB_VERSION_REVISION = $(call dpkg_late_eval,DEB_VERSION_REVISION,echo '$(DEB_VERSION_UPSTREAM_REVISION)' | sed -e 's/^.*-//')
|
||||
NGINX_DEB_VERSION = $(DEB_VERSION_EPOCH)$(DEB_VERSION_UPSTREAM)+$(NGINX_VERSION)-$(DEB_VERSION_REVISION)
|
||||
|
||||
override_dh_gencontrol:
|
||||
dh_gencontrol --remaining-packages -- -v$(NGINX_DEB_VERSION)
|
||||
override_dh_auto_build:
|
||||
mkdir -p obj-${DEB_BUILD_GNU_TYPE} && cd obj-${DEB_BUILD_GNU_TYPE} && \
|
||||
cmake -DNGX_OTEL_NGINX_BUILD_DIR=/usr/share/nginx/src/objs .. && \
|
||||
make -j12 "INSTALL=install --strip-program=true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue