#!/usr/bin/make -f # # $Id$ # # rules file for creating debian packages # DEB_DH_ALWAYS_EXCLUDE := .svn srcdir = $(shell pwd)/src package = sqlparse DEB_INSTALL_DOCS_ALL := doc/LICENSE.txt doc/README export PYBUILD_NAME = $(package) export PYBUILD_DISABLE=test %: dh $@ --with python2,python3 --buildsystem=pybuild clean:: cd debian && rm -rf substvars files *.substvars devhost.txt.gz *.log python3-$(package) python-$(package) tmp rm -rf .pybuild install-indep:: mv debian/python3-$(package)/usr/bin/sqlformat debian/python3-$(package)/usr/bin/sqlformat-python3 mv debian/python-$(package)/usr/bin/sqlformat debian/python-$(package)/usr/bin/sqlformat-python