File: rules

package info (click to toggle)
libjs-jquery-markitup 1.1.15-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 344 kB
  • sloc: javascript: 603; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 629 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	uglifyjs markitup/jquery.markitup.js > markitup/jquery.markitup.min.js
	dh_auto_build

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.md

override_dh_auto_clean:
	rm -f markitup/jquery.markitup.min.js
	dh_auto_clean

override_dh_fixperms:
	dh_fixperms
	chmod a-x debian/libjs-jquery-markitup/usr/share/doc/libjs-jquery-markitup/examples/index.html
	chmod a-x debian/libjs-jquery-markitup/usr/share/javascript/jquery-markitup/markitup/templates/preview.html

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..