Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # See debhelper(7) (uncomment to enable).
4 # Output every command that modifies files on the build system.
5 export DH_VERBOSE = 1
6
7
8 # See FEATURE AREAS in dpkg-buildflags(1).
9 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
10
11 # See ENVIRONMENT in dpkg-buildflags(1).
12 # Package maintainers to append CFLAGS.
13 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
14 # Package maintainers to append LDFLAGS.
15 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
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