File: rules

package info (click to toggle)
datatables-extensions 0.0+git20150910.28fd64e+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,044 kB
  • sloc: makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# DH_VERBOSE := 1

%:
	dh $@

override_dh_install:
	dh_install
	for min in `find debian -name "*.min.js"` ; do \
	    closure-compiler  --charset 'utf-8' --js `echo $${min} | sed 's/\.min//'` --js_output_file $${min} ; \
	done
	for min in `find debian -name "*.min.css"` ; do \
	    sass --scss --stop-on-error --style compressed `echo $${min} | sed 's/\.min//'` > $${min} ; \
	done
	# there is no point in shipping useless README.md in binary package
	find debian -name README.md -delete