Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dh-r/r-cran.mk
4
5 %:
6 dh $@ --buildsystem R
7
8 override_dh_install:
9 dh_install
10 find debian -name "LICENSE*" -delete
11 rm -rf $(debRlib)/$(cranName)/www/shared/showdown/license.txt
12 mkdir -p $(debRlib)/$(cranName)/www/shared/bootstrap/shim
13 cp -a debian/missing-sources/respond/respond.min.js $(debRlib)/$(cranName)/www/shared/bootstrap/shim/
14 mkdir -p $(debRlib)/$(cranName)/www/shared/strftime
15 cp -a debian/missing-sources/strftime/strftime.min.js $(debRlib)/$(cranName)/www/shared/strftime
16 # this fails: yui-compressor debian/missing-sources/babel-polyfill/babel-polyfill.js > $(debRlib)/$(cranName)/www/shared/babel-polyfill.min.js
17 # see https://lists.debian.org/debian-mentors/2016/11/msg00102.html
18 cp -a debian/missing-sources/babel-polyfill/babel-polyfill.min.js $(debRlib)/$(cranName)/www/shared/babel-polyfill.min.js
19 # see debian/README.source
20 mkdir -p $(debRlib)/$(cranName)/www/shared/selectize/js/
21 cp -a debian/missing-sources/selectize-0.12.1/selectize.min.shiny.js $(debRlib)/$(cranName)/www/shared/selectize/js/selectize.min.js
22 # For some very strange reason a symlink leads to unexpected results in shiny apps.
23 # Thus a real copy of font-awesome.min.css from fonts-font-awesome package is created.
24 mkdir -p $(debRlib)/$(cranName)/www/shared/font-awesome/css/
25 cp -a /usr/share/fonts-font-awesome/css/font-awesome.min.css $(debRlib)/$(cranName)/www/shared/font-awesome/css/
26 # datepicker is only non-minimized. Do the minimisation here
27 #mkdir -p $(debRlib)/$(cranName)/www/shared/datepicker/js
28 #closure-compiler --charset 'utf-8' --js /usr/share/javascript/bootstrap/files/js/bootstrap-datepicker.js --js_output_file $(debRlib)/$(cranName)/www/shared/datepicker/js/bootstrap-datepicker.min.js
29 # As can be seen in bug #1031456 closure-compiler fails - simply symlinking uncompressed to be save
30 dh_link /usr/share/javascript/bootstrap/files/js/bootstrap-datepicker.js $(debRdir)/$(cranNameOrig)/www/shared/datepicker/js/bootstrap-datepicker.min.js
31 mkdir -p $(debRlib)/$(cranName)/www/shared/datepicker/css
32 yui-compressor /usr/share/javascript/bootstrap/files/css/datepicker3.css > $(debRlib)/$(cranName)/www/shared/datepicker/css/bootstrap-datepicker3.min.css
33 mkdir -p $(debRlib)/$(cranName)/www/shared/bootstrap/shim