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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#! /usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
p := python-stats
d := debian/$(p)
PV := $(shell pyversions -vd)
pylib := usr/lib/python$(PV)/site-packages
build:
# We have nothing to do by default.
clean:
dh_clean
rm -f *.pyc *.pyo
# Build architecture-independent files here.
binary-indep: build
dh_testdir
dh_testroot
: # install it
dh_installdirs -i $(pylib)
dh_installdocs -i README.stats README.pstat
cp -a io.py stats.py pstat.py $(d)/$(pylib)/
dh_installchangelogs -i Changelog
dh_compress -i
dh_fixperms -i
dh_pycentral -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build
# We have nothing to do by default.
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
|