Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 %:
4 dh $@
5
6 # see README for scripts to fix
7 scripts_to_fix = \
8 Du.sh \
9 encryptedpw.sh \
10 ex57.sh \
11 ex69.sh \
12 ex70.sh \
13 ex71.sh \
14 ex71a.sh \
15 ex71b.sh \
16 ex71c.sh \
17 ex72.sh \
18 logevents.sh \
19 m4.sh \
20 pw.sh \
21 read-r.sh \
22 rnd.sh \
23 rot13.sh \
24 rot13a.sh \
25 here-function.sh \
26 avoid-subshell.sh \
27 usb.sh \
28 prepend.sh \
29 array-assign.bash \
30 cdll \
31 directory-info.sh \
32 is-spammer.sh \
33 bashrc \
34 commentblock.sh \
35 self-document.sh \
36 dev-tcp.sh \
37 archiveweblogs.sh \
38 multiple-processes.sh \
39 is_spammer.bash \
40 iscan.sh \
41 Hash.lib \
42 hash-example.sh \
43 quote-fetch.sh \
44 ftpget.sh \
45 whx.sh \
46 pad.sh \
47 nightly-backup.sh \
48 tohtml.sh \
49 insertion-sort.bash \
50 tree2.sh \
51 petals.sh \
52 realname.sh \
53 qky.sh \
54 maned.sh \
55 progress-bar.sh \
56 nim.sh \
57 paragraph-space.sh \
58 sw.sh \
59 UseGetOpt.sh \
60 UseGetOpt-2.sh
61
62 override_dh_installchangelogs:
63 dh_installchangelogs Change.log
64
65 override_dh_installdocs:
66 dh_installdocs HTML abs-book.sgml
67 mv debian/abs-guide/usr/share/doc/abs-guide/HTML \
68 debian/abs-guide/usr/share/doc/abs-guide/html
69
70 override_dh_installexamples:
71 dh_installexamples *.sh *.bash bashrc cdll Hash.lib
72 cd debian/abs-guide/usr/share/doc/abs-guide/examples && \
73 for f in $(scripts_to_fix); do \
74 sed -e 's/&lt;/</g' -e 's/&gt;/>/g' -e 's/&amp;/&/g' \
75 $$f > $$f.new; \
76 if cmp -s $$f $$f.new; then \
77 rm -f $$f.new; \
78 else \
79 echo fixed $$f; \
80 mv -f $$f.new $$f; \
81 fi; \
82 done
83
84 cd debian/abs-guide/usr/share/doc/abs-guide/examples && \
85 for file in case4.sh fetch_address.sh fetch_address-2.sh ; do \
86 sed -i 's|#!/bin/bash4|#!/bin/bash|' $$file ; \
87 done
88
89 override_dh_compress:
90 dh_compress -X.sh -X.anchors -Xbashrc