diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:34:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:34:40 +0000 |
commit | 33c4f210569537fd8f6c097c56f3db565c2a771f (patch) | |
tree | 1c84e52b5d715ebba747a134fd2a55fc863c6a47 /debian/rules | |
parent | Adding upstream version 1:6.7. (diff) | |
download | ethtool-33c4f210569537fd8f6c097c56f3db565c2a771f.tar.xz ethtool-33c4f210569537fd8f6c097c56f3db565c2a771f.zip |
Adding debian version 1:6.7-1.debian/1%6.7-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6258b94 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#! /usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + ./autogen.sh +# Add --sbindir=/sbin if backporting to bookworm or earlier +# Revert as well the paths in debian/ethtool.if-{pre-up,up} + dh_auto_configure + +override_dh_auto_install: + dh_auto_install + mkdir -p debian/ethtool/etc/network/if-pre-up.d + install debian/ethtool.if-pre-up debian/ethtool/etc/network/if-pre-up.d/ethtool + mkdir -p debian/ethtool/etc/network/if-up.d + install debian/ethtool.if-up debian/ethtool/etc/network/if-up.d/ethtool + +override_dh_auto_clean: + dh_auto_clean + rm -f INSTALL Makefile.in aclocal.m4 compile configure depcomp ethtool-config.h.in install-sh missing test-driver + +override_dh_installchangelogs: + dh_installchangelogs -XChangeLog |