Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 package := miscfiles
4 packagedir := $(CURDIR)/debian/$(package)
5 dictfiles := $(shell sed -ne 's/^dictfiles *= *//p' Makefile.am)
6
7 %:
8 dh "$@"
9
10 override_dh_auto_install:
11 dh_auto_install -v -- rfcfiles= SHELL="/bin/sh -e"
12 cd $(packagedir)/usr/share && \
13 mkdir misc dict && \
14 mv -t dict $(dictfiles) && \
15 find . -maxdepth 1 -type f -exec mv -t misc {} ';'
16 installdeb-wordlist -p$(package)
17
18 override_dh_compress:
19 find $(packagedir)/usr/share/ -type f '!' -path '*/doc/*' '!' -name web2 \
20 -exec gzip -9nf {} ';'
21 cd $(packagedir)/usr/share/doc/$(package) && \
22 set -- ../../misc/*.gz && \
23 ln -st . "$$@"
24 dh_compress