File: rules

package info (click to toggle)
apachedex 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 260 kB
  • sloc: python: 1,562; sh: 30; makefile: 19
file content (29 lines) | stat: -rwxr-xr-x 969 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
24
25
26
27
28
29
#!/usr/bin/make -f

PYVER := $(shell pyversions -vd)

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

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

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

override_dh_auto_test:
	@echo 'TODO: Enable Unit Tests at build time...'

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