#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PYVERSIONS := $(shell pyversions -vr)
include /usr/share/cdbs/1/rules/debhelper.mk
binary-install/python-optcomplete::
for v in $(PYVERSIONS); do \
mkdir -p $(CURDIR)/debian/python-optcomplete/usr/lib/python$$v/site-packages; \
install -m 0644 lib/python/optcomplete.py $(CURDIR)/debian/python-optcomplete/usr/lib/python$$v/site-packages; \
done
dh_pycentral -ppython-optcomplete
install -m 0644 etc/optcomplete.bash $(CURDIR)/debian/python-optcomplete/etc/bash_completion.d/optcomplete
|