diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:20:55 +0000 |
commit | 751abe5af6e60af060ea7979512574d903a49eb0 (patch) | |
tree | 991d21305c4f60a4b0c13964436f8b8e08fee34b /debian/rules | |
parent | Adding upstream version 3.0.10. (diff) | |
download | dkms-debian.tar.xz dkms-debian.zip |
Adding debian version 3.0.10-8+deb12u1.debian/3.0.10-8+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2588aa9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ + +debian/scripts/dh_dkms: debian/scripts/dh_dkms.in + sed -r "s,^#VERSION#,our \$$VERSION = \"$(DEB_VERSION)\";," $< > $@ + chmod +x $@ + +debian/scripts/dh_dkms.1: debian/scripts/dh_dkms + pod2man \ + --center "DKMS Debhelper" \ + --release $(DEB_VERSION_UPSTREAM) \ + $< > $@ + +override_dh_auto_build: debian/scripts/dh_dkms +override_dh_auto_build: debian/scripts/dh_dkms.1 + +override_dh_auto_install: + $(MAKE) install-debian DESTDIR=$(CURDIR)/debian/dkms |