File: rules

package info (click to toggle)
python-jsbeautifier 1.6.4-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 408 kB
  • ctags: 198
  • sloc: python: 5,356; makefile: 7; sh: 5
file content (10 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

d = $(CURDIR)/debian/jsbeautifier/usr/bin
export PYBUILD_NAME=jsbeautifier
export PYBUILD_AFTER_INSTALL_python2 = rm -rv {destdir}/usr/bin
export PYBUILD_AFTER_INSTALL_python3 = mkdir -pv $d && mv -v {destdir}/usr/bin/js-beautify $d
export PYBUILD_DISABLE=test

%:
	dh $@ --with python2,python3 --buildsystem=pybuild