File: rules

package info (click to toggle)
apachedex 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 408 kB
  • sloc: python: 1,463; sh: 30; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 746 bytes parent folder | download
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

PYVER := $(shell pyversions -vd)

%:
	dh $@ --with python2 --no-guessing-versions --buildsystem=python_distutils

override_dh_link:
	dh_link /usr/share/javascript/jquery/jquery.js \
		usr/lib/python$(PYVER)/dist-packages/apachedex/jquery.js

	dh_link /usr/share/javascript/jquery-ui/jquery-ui.js \
		usr/lib/python$(PYVER)/dist-packages/apachedex/jquery-ui.js

	dh_link /usr/share/javascript/jquery-flot/jquery.flot.js \
		usr/lib/python$(PYVER)/dist-packages/apachedex/jquery.flot.js

	dh_link /usr/share/javascript/jquery-flot/jquery.flot.time.js \
		usr/lib/python$(PYVER)/dist-packages/apachedex/jquery.flot.time.js

override_dh_install:
	dh_install
	cp parallel_parse.sh debian/apachedex/usr/bin/apachedex-parallel-parse