Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 # export DH_VERBOSE=1
6 #
7
8 %:
9 dh $@
10
11 override_dh_auto_install:
12 slimit -m \
13 jquery.colorbox.js \
14 > \
15 debian/libjs-jquery-colorbox/usr/share/javascript/jquery-colorbox/jquery.colorbox-min.js
16
17 override_dh_installexamples:
18 dh_installexamples
19
20 find debian/libjs-jquery-colorbox/usr/share/doc/libjs-jquery-colorbox/examples \
21 -name "*.html" \
22 -type f \
23 -exec sed \
24 -i 's@script src=".*jquery.min.js"@script src="/usr/share/javascript/jquery/jquery.min.js"@g;s@script src="../jquery.colorbox.js"@script src="/usr/share/javascript/jquery-colorbox/jquery.colorbox.js"@g' \
25 '{}' \;
26
27 override_dh_installchangelogs:
28 dh_installchangelogs README.md