1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
#DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--disable-new-dtags -Wl,--allow-multiple-definition
override_dh_auto_build:
dh_auto_build
a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1find.1.txt
a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1retap.1.txt
a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1sensors.1.txt
override_dh_auto_install:
dh_auto_install
install -D -o root -g root -m 755 docs/w1sensors.rb debian/tmp/usr/bin/w1sensors
override_dh_makeshlibs:
dh_makeshlibs --noscripts
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start
%:
dh $@
|