Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #DH_VERBOSE = 1
5
6 # main packaging script based on dh7 syntax
7
8 %:
9 dh $@
10
11
12 # fix lintian issues:
13 # - systemd-service-file-outside-lib
14 # - duplicate-changelog-files
15 override_dh_auto_configure:
16 dh_auto_configure
17 sed -i \
18 -e 's/ChangeLog//' \
19 Makefile
20
21 execute_after_dh_auto_install:
22 # Let dh place btrbk.service and btrbk.timer.
23 mv debian/btrbk/usr/lib/systemd/system/* debian/
24 rmdir debian/btrbk/usr/lib/systemd/system debian/btrbk/usr/lib/systemd
25
26 execute_after_dh_auto_clean:
27 rm -f debian/btrbk.service debian/btrbk.timer