diff --git a/Makefile b/Makefile index a5dc9e3..66e94a8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -include /usr/share/dpkg/pkg-info.mk +include /usr/share/dpkg/default.mk PACKAGE=libarchive-perl @@ -8,12 +8,11 @@ PACKAGE=libarchive-perl PPSRC = LibArchive -ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) - BUILDSRC=$(PACKAGE)-$(DEB_VERSION_UPSTREAM) -DEB=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION)_$(ARCH).deb DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc +DEB=$(PACKAGE)_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb + all: $(DEB) .PHONY: update-bindings