File: rules

package info (click to toggle)
ethtool 1%3A6.15-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,996 kB
  • sloc: ansic: 66,004; sh: 97; makefile: 88; xml: 17
file content (24 lines) | stat: -rwxr-xr-x 726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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