Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 %:
9 dh $@
10
11 execute_before_dh_clean:
12 debconf-updatepo
13
14 execute_before_dh_install:
15 $(MAKE) install DESTDIR=$(CURDIR)/debian/ca-certificates
16 # udeb handling
17 install -d -m 0755 "$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs"
18 (cd mozilla; \
19 $(MAKE) install CERTSDIR="$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs")
20 openssl rehash -v "$(CURDIR)/debian/ca-certificates-udeb/etc/ssl/certs"
21
22 override_dh_installdebconf:
23 find $(CURDIR)/debian/ca-certificates/usr/share/ca-certificates -type f -name '*.crt' -printf '%P\n' | \
24 LC_ALL=C sort | sed -e '$$! s/$$/, /' | tr -d '\n' > debian/config.initial_certs
25 dh_installdebconf -n -DINITIAL_CERTS=@debian/config.initial_certs