chore: add debian package info

This commit is contained in:
Regolith Linux 2024-03-14 18:10:32 -07:00
parent 1a3cfc50c1
commit 1339e0bbbc
11 changed files with 1108 additions and 0 deletions

27
debian/rules vendored Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/make -f
# -*- makefile -*-
export DH_VERBOSE=1
export DH_OPTIONS=-v
include /usr/share/dpkg/pkg-info.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wno-error=deprecated-declarations
%:
dh $@
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
dh_auto_configure -- --libexecdir=lib
.PHONY: override_dh_missing
override_dh_missing:
dh_missing --fail-missing
.PHONY: override_dh_install
override_dh_install:
if ! dh_install; then \
tree debian/tmp; \
exit 1; \
fi