Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 export DEB_BUILD_MAINT_OPTIONS = future=+lfs
6 export DEB_CFLAGS_MAINT_APPEND = -Wall -Wno-analyzer-null-argument
7
8 %:
9 dh $@
10
11 override_dh_clean:
12 -mv debian/testsuite.orig tests/testsuite
13 dh_clean
14
15 override_dh_auto_configure:
16 dh_auto_configure -- \
17 RSH="/usr/bin/rsh" \
18 --libexecdir=/usr/sbin \
19 --enable-backup-scripts \
20 --with-lzma=xz \
21 --disable-silent-rules
22
23 override_dh_auto_test:
24 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
25 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
26 @runas=`whoami` ; \
27 if test $$runas = "root" ; \
28 then \
29 echo "Sorry, but the test suite is not designed to be run as root."; \
30 exit 1 ;\
31 fi
32 cp tests/testsuite debian/testsuite.orig
33 dh_auto_test
34 endif
35 endif
36
37 override_dh_install:
38 dh_install
39 cp doc/rmt.8 debian/rmt-tar.8
40
41 override_dh_installdocs:
42 cp -a ChangeLog.1 debian/changelog.1
43 dh_installdocs