| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export DH_VERBOSE = 1 |
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
%: |
| 19 |
dh $@ --buildsystem=cmake+makefile |
| 20 |
|
| 21 |
override_dh_auto_configure: |
| 22 |
dh_auto_configure -- -DUSE_SYSTEM_LIBRARIES:bool=true |
| 23 |
|
| 24 |
execute_before_dh_install: |
| 25 |
cp railcontrol.conf.dist railcontrol.conf |
| 26 |
|
| 27 |
execute_before_dh_installman: |
| 28 |
pandoc --standalone --from=markdown --to=man --output=debian/railcontrol.1 debian/railcontrol.md |
| 29 |
|
| 30 |
execute_after_dh_clean: |
| 31 |
rm -f debian/railcontrol.1 |
| 32 |
rm -f railcontrol.conf |
| 33 |
|
| 34 |
download-missing-sources: |
| 35 |
curl --output debian/missing-sources/nosleep.js https://raw.githubusercontent.com/richtr/NoSleep.js/v0.12.0/dist/NoSleep.js |
| 36 |
|
| 37 |
override_dh_installsystemd: |
| 38 |
dh_installsystemd --no-enable --no-start |