Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8
9 # the build system silences build flags without this set
10 export V=1
11
12 %:
13 dh $@
14
15 override_dh_autoreconf:
16 dh_autoreconf autoreconf -- -f -i -I m4
17
18 override_dh_auto_configure:
19 dh_auto_configure -- \
20 --docdir=/usr/share/doc/atheme-services/ \
21 --sysconfdir=/etc/atheme \
22 --disable-rpath \
23 --enable-contrib \
24 --enable-fhs-paths \
25 --enable-reproducible-builds \
26 --with-libmowgli=no \
27 --without-cracklib \
28 --without-ldap \
29 --without-perl
30
31 override_dh_auto_clean:
32 [ ! -f buildsys.mk ] || make clean
33 # Manually remove files, due to authors distclean not safe
34 find -name .deps -type f -delete
35 [ ! -f buildsys.mk ] || rm buildsys.mk
36 [ ! -f config.sub ] || rm config.sub
37 [ ! -f config.guess ] || rm config.guess
38 [ ! -f config.log ] || rm config.log
39 [ ! -f config.status ] || rm config.status
40 [ ! -f dist/atheme.conf.operserv-example ] || rm dist/atheme.conf.operserv-example
41 [ ! -f dist/atheme.conf.userserv-example ] || rm dist/atheme.conf.userserv-example
42 [ ! -f extra.mk ] || rm extra.mk
43 [ ! -f include/sysconf.h ] || rm include/sysconf.h
44
45 override_dh_install:
46 dh_install -p atheme-services -X/contrib/
47 dh_install --remaining-packages
48
49 # atheme-services allows wide configure latitude, so we want to make sure the user
50 # reads the config files...
51 rm -f $(CURDIR)/debian/atheme-services/etc/atheme/*example
52
53 # shut lintian up by not installing the LICENSE...
54 rm -f $(CURDIR)/debian/atheme-services/usr/share/doc/atheme-services/LICENSE
55 rm -f $(CURDIR)/debian/atheme-services/usr/share/doc/atheme/LICENSE
56
57 # shut lintian up by removing the run folder.
58 rm -rf $(CURDIR)/debian/atheme-services/var/run
59
60 override_dh_installinit:
61 dh_installinit --no-enable
62
63 override_dh_installsystemd:
64 dh_installsystemd --no-enable