Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 include /usr/share/dpkg/pkg-info.mk
13
14 override_dh_perlscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/override_dh_perl().:
15 dh_perlscip-debian debian debhelper . dh_perl(). -d --package=init-system-helpers
16 dh_perlscip-debian debian debhelper . dh_perl(). --no-package=init-system-helpers
17
18 ifeq ($(filterscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/filter. nodoc,$(DEB_BUILD_PROFILESscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/DEB_BUILD_PROFILES.)),)
19 execute_after_dh_auto_buildscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/execute_after_dh_auto_build().:
20 set -e ; \
21 for file in script/deb-*; do \
22 pod2man --section=1p --utf8 --center="init-system-helpers" --release=$(DEB_VERSIONscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/DEB_VERSION.) $$file $$file.1p; \
23 done
24 set -e ; \
25 for file in man8/*.rst ; do \
26 rst2man $$file $${file%.rst}.8 ; \
27 done
28 endif
29
30 execute_after_dh_installscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/execute_after_dh_install().:
31 [ ! -d debian/init-system-helpers ] || sed -i 's/__VERSION__/$(DEB_VERSIONscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/DEB_VERSION.)/' debian/init-system-helpers/usr/sbin/service
32
33
34 override_dh_gencontrolscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/override_dh_gencontrol().:
35 if dpkg-vendor --derives-from ubuntu; then \
36 dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -- -Valt:sysvinit=""; \
37 else \
38 dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -- -Valt:sysvinit="| sysvinit-core"; \
39 fi
40
41 override_dh_auto_testscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/override_dh_auto_test().:
42 ifeq (,$(filterscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/DEB_BUILD_OPTIONS.)))
43 ifeq (,$(filterscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/filter. $(DEB_HOST_ARCHscip-debian debian init-system-helpers 1.69 init-system-helpers/rules/DEB_HOST_ARCH.),hurd-amd64 hurd-i386 ia64 kfreebsd-amd64 kfreebsd-i386 x32))
44 # test with fakechroot
45 set -eu; \
46 for test in t/*.t; do \
47 echo "======== $$(basename $$test) (fakechroot) ======="; \
48 fakechroot fakeroot perl $$test; \
49 done
50 endif
51 # test with DPKG_ROOT
52 set -eu; \
53 for test in t/*.t; do \
54 echo "======== $$(basename $$test) (DPKG_ROOT) ======="; \
55 TEST_DPKG_ROOT=1 perl $$test; \
56 done
57 endif
58
59 %scip-debian debian init-system-helpers 1.69 init-system-helpers/rules/`%`().:
60 dh $@