5 PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'| sed 's/+dfsg//')
7 configure: configure-stamp
15 build-stamp: configure-stamp
17 $(MAKE) VERSION=$(PKG_VERSION)
23 rm -f build-stamp configure-stamp
24 [ ! -f Makefile ] || $(MAKE) distclean
33 $(MAKE) DESTDIR=$(CURDIR)/debian/altos install
35 # Build architecture-independent files here.
37 # We have nothing to do by default.
39 # Build architecture-dependent files here.
43 dh_installchangelogs ChangeLog
70 binary: binary-indep binary-arch
71 .PHONY: build clean binary-indep binary-arch binary install configure