summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules11
1 files changed, 6 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 55ea74cf..682108fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,8 +14,7 @@
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-PACKAGE=vyatta-cfg-quagga
-PKGDIR=$(CURDIR)/debian/$(PACKAGE)
+PKGDIR=$(CURDIR)/debian/tmp
CFLAGS = -Wall -g
@@ -72,8 +71,10 @@ install: build
$(MAKE) DESTDIR=$(PKGDIR) install
- install -D --mode=0644 debian/lintian $(PKGDIR)/usr/share/lintian/overrides/$(PACKAGE)
- install -D --mode=0644 debian/linda $(PKGDIR)/usr/share/linda/overrides/$(PACKAGE)
+ for p in vyatta-cfg-quagga vyatta-cfg-quagga-serial; do \
+ install -D --mode=0644 debian/$$p.lintian-overrides \
+ debian/$$p/usr/share/lintian/overrides/$$p; \
+ done
# Build architecture-independent files here.
binary-indep: build install
@@ -82,7 +83,7 @@ binary-indep: build install
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
- dh_install
+ dh_install --sourcedir=debian/tmp
dh_installdebconf
dh_link
dh_strip