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
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_TAR_SRCDIR = libLAS-$(shell dpkg-parsechangelog|grep Version:|cut -d' ' -f2|cut -d- -f1)
DEB_TARBALL = $(CURDIR)/upstream/$(DEB_TAR_SRCDIR).tar.gz
SRC_TREE = $(CURDIR)/build-tree/$(DEB_TAR_SRCDIR)
DEB_PYTHON_SYSTEM = pysupport
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
include /usr/share/cdbs/1/rules/tarball.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
LIBLAS = liblas$(shell liblas-config --version|cut -d. -f1)
clean:: template
rm -f $(CURDIR)/upstream/*.cdbs-config_list
template:
sed -e 's/@LIBLAS@/$(LIBLAS)/g' $(CURDIR)/debian/control.in >$(CURDIR)/debian/control
.PHONY: template
|