Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # debian/rules for alpine
3
4 DPKG_EXPORT_BUILDFLAGS = 1
5 include /usr/share/dpkg/default.mk
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7 export DEB_CFLAGS_MAINT_APPEND = -Wno-incompatible-pointer-types
8
9 execute_after_dh_auto_clean:
10 cd web/src && rm -f Makefile alpined.d/Makefile pubcookie/Makefile
11
12 override_dh_auto_configure:
13 dh_auto_configure -- --with-system-pinerc=/etc/pine.conf \
14 --with-system-fixed-pinerc=/etc/pinerc.fixed \
15 --with-passfile=.pine-passfile \
16 --with-smtp-msa=/usr/sbin/sendmail \
17 --with-debug-level=0 \
18 --with-date-stamp="$(shell LC_ALL=C date --utc -d @$(SOURCE_DATE_EPOCH))" \
19 --with-host-stamp=debian \
20 --without-tcl \
21 --with-krb5 \
22 --with-krb5-dir=/usr
23
24 override_dh_auto_build:
25 # force cross compilers onto make as they are not propagated from configure
26 dh_auto_build --buildsystem=makefile
27 $(MAKE) -C imap/mlock
28
29 override_dh_install-arch:
30 cp -p imap/mlock/mlock debian/tmp/usr/bin/alpine-mlock
31 dh_install --arch
32 # Rename pico to pico.alpine.
33 # alpine-pico.install puts this in the alpine-pico package.
34 mv debian/alpine-pico/usr/bin/pico debian/alpine-pico/usr/bin/pico.alpine
35
36 override_dh_installdocs-indep:
37 dh_installdocs --indep
38 # Change /usr/local/ config paths to /etc
39 sed -i -e s@/usr/local/lib/pine@/etc/pine@g \
40 -e s@/usr/local/pine@/etc/pine@g \
41 debian/alpine-doc/usr/share/doc/alpine/tech-notes/*
42
43 override_dh_installman-arch:
44 dh_installman --arch
45 mv debian/alpine-pico/usr/share/man/man1/pico.1 debian/alpine-pico/usr/share/man/man1/pico.alpine.1
46
47 override_dh_fixperms-arch:
48 dh_fixperms
49 chown root:mail debian/alpine/usr/bin/alpine-mlock
50 chmod 2755 debian/alpine/usr/bin/alpine-mlock
51
52 override_dh_missing:
53 dh_missing --fail-missing
54
55 override_dh_clean:
56 dh_clean -Xinclude/config.h.in~ -Xweb/cgi/alpine/2.0/img/cbn/msglist.gif.bak
57
58 %:
59 dh $@ --max-parallel=1