#!/usr/bin/make -f export PYBUILD_NAME=gpiod-sysfs-proxy %: dh $@ --buildsystem=pybuild # Generate man page from the --help/--version output with help2man. ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) execute_after_dh_auto_build: help2man \ --name='emulate the Linux GPIO sysfs interface using libgpiod' \ --section=1 \ --no-info \ --output=debian/gpiod-sysfs-proxy.1 \ ./gpiod-sysfs-proxy endif # Install the systemd units but do not enable or start them. # The template unit is opt-in (e.g. the admin should enable the instance for the # mountpoint they want to use) and the .mount overlay units are pulled in only # by the sys-class-gpio instance so none of them should be auto-started after # install. override_dh_installsystemd: dh_installsystemd --no-enable --no-start