Build system: debian/rules: Provide build-arch and build-indep targets.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Dec 2014 16:21:08 +0000 (16:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Dec 2014 16:50:36 +0000 (16:50 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
debian/rules

index f6834ee..4be8f9f 100644 (file)
@@ -15,6 +15,7 @@ secnet (0.4.0~beta2~) unstable; urgency=low
   * Get rid of old FSF street address; use URL instead.
   * Remove obsolete LICENCE.txt (which was for snprintf reimplementation).
   * Remove obsolete references to Cendio (for old ipaddr.py).
+  * Build system: debian/rules: Provide build-arch and build-indep targets.
 
  --
 
index 46c3676..79f57c1 100755 (executable)
@@ -34,7 +34,7 @@ export EXTRA_CFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) \
                     $(shell dpkg-buildflags --get CFLAGS)
 export EXTRA_LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 
-build: build-stamp
+build build-arch: build-stamp
 build-stamp:
        dh_testdir
 
@@ -63,7 +63,7 @@ install: build
        $(MAKE) DESTDIR=`pwd`/debian/`dh_listpackages` install
 
 # Build architecture-independent files here.
-binary-indep: build install
+build-indep binary-indep: build install
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.