aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-06-01 17:07:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-06-01 17:08:17 +0200
commit03e5aa0889c9ea65a1f5476c332a769dedc52f85 (patch)
treee83f7ceef81662dfaa565c52437781eb6dc57d5d /debian/rules
parentaedd0c862f2aad19a54a40a576554bcd4952f012 (diff)
downloaditzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.tar.gz
itzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.tar.bz2
itzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.zip
debian/: Modernize packaging (drop used of cdbs, supporting packaging without (fake)root privileges.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 5 insertions, 14 deletions
diff --git a/debian/rules b/debian/rules
index da5bb09..fb6726e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,13 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/class/makefile.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-export PREFIX=/usr
-export DESTDIR=debian/tmp
+export DEB_DESTDIR := $(CURDIR)/debian/tmp/
-DEB_BUILD_PARALLEL = 1
-DEB_INSTALL_DOCS_ALL = README
+%:
+ dh ${@}
-DEB_MAKE_CHECK_TARGET=test
-DEB_MAKE_INSTALL_TARGET=install
-
-common-install-indep:: remove-cruft
-common-install-arch:: remove-cruft
-
-remove-cruft::
-# Nothing to do here, right now...
+override_dh_auto_install:
+ dh_auto_install -- INSTALL_FILE="install -m 644" INSTALL_DIR="install -d -m 755" DESTDIR="$(DEB_DESTDIR)"
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..