ooni-probe-cli/debian/rules
Federico Ceratto 8df91ecb1b
debian: run as a daemon, ask informed consent (#162)
* Set verbose mode, depend on adduser

* Run as daemon

* Generate manpage

* Implement informed consent

* Set version

* Switch format to native

* Set environment

* Update packaging

* Create test and release pipelines

* Update debian/ooniprobe-cli.service

Co-authored-by: Simone Basso <bassosimone@gmail.com>

* Update debian/ooniprobe-cli.service

Co-authored-by: Simone Basso <bassosimone@gmail.com>

* Update debian/ooniprobe.conf.disabled

Co-authored-by: Simone Basso <bassosimone@gmail.com>

* fix(linux-debian-packages): build also on pull requests

Otherwise there's no way for us to test :^).

* fix(debian/control): ubuntu 20.04 has debhelper 12

See https://packages.ubuntu.com/focal/debhelper

* fix(debian/control): debhelper-compat relations doesn't work the way I thought

* Update debian/ooniprobe-cli.timer

Co-authored-by: Simone Basso <bassosimone@gmail.com>
2020-12-15 13:05:13 +01:00

21 lines
322 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE=1
%:
dh $@
override_dh_auto_clean:
rm -f debian/ooniprobe.1
dh_auto_clean
override_dh_auto_build:
# The ooniprobe binary is provided
./CLI/linux/amd64/ooniprobe --help-man > debian/ooniprobe.1
override_dh_dwz:
true
override_dh_auto_install:
dh_auto_install -- --no-source