File: rules

package info (click to toggle)
cclib 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 528 kB
  • sloc: python: 4,534; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 475 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
#!/usr/bin/make -f

-include /usr/share/python/python.mk

PYVERS=$(shell pyversions -vd)

%:
	dh --with python2 $@

override_dh_auto_install:
	for pyver in $(PYVERS); do \
	  python$$pyver setup.py install \
	  --root $(CURDIR)/debian/python-cclib \
	  --prefix=/usr --no-compile \
	  $(py_setup_install_args); \
	done

override_dh_install:
	dh_install
	mv debian/cclib/usr/bin/ccget debian/cclib/usr/bin/cclib-get
	mv debian/cclib/usr/bin/cda debian/cclib/usr/bin/cclib-cda