Debian improvements (#45)

* Copy man-pages from source - add corefile.5

* Dont redownload every time
This commit is contained in:
Miek Gieben 2018-01-11 09:42:24 +00:00 committed by GitHub
parent 60666ffcc1
commit 190c36e4f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 20 additions and 3414 deletions

View file

@ -1,10 +1,17 @@
# Makefile for building packages for CoreDNS.
# Build the debian packages
# ARCH can be and default to amd64 is not set.
# ARCH := amd64 armhf arm64
ifeq ($(ARCH),)
ARCH:=amd64
endif
.PHONY: debian
debian:
dpkg-buildpackage -us -uc -b --target-arch amd64
dpkg-buildpackage -us -uc -b --target-arch armhf
dpkg-buildpackage -us -uc -b --target-arch arm64
# debs are one up
ls ../*.deb
for a in $(ARCH); do \
dpkg-buildpackage -us -uc -b --target-arch $$aa ;\
done
debian-clean:
rm *.tgz