From 4406f1acb92a6a75279f13bee4391eb93e547ce4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 6 Jun 2012 02:04:55 +0100 Subject: [PATCH] arch and indep --- .gitignore | 2 +- debian/changelog | 1 + debian/rules | 12 ++++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 26ff752..f6e8c30 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ *~ *.o -build +build_arch cprogs/readbuffer cprogs/writebuffer diff --git a/debian/changelog b/debian/changelog index 64babee..7520e20 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,7 @@ chiark-utils (4.1.31~~iwj) unstable; urgency=low - In the code, rename pix_... variables to be named after the meaning rather than the default colour. + * Provide build-arch and build-indep debian/rules targets. * Fix the type of a callback function passed to scandir, to expect struct dirent**'s rather than void*'s. * Add -Wno-pointer-sign to gcc warning options. diff --git a/debian/rules b/debian/rules index 7ac91e2..7922196 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ SHELL=/bin/bash -subdirs_build= cprogs +subdirs_build_arch= cprogs subdirs_nobuild=backup sync-accounts scripts package= chiark-utils packages_indep= chiark-backup chiark-scripts @@ -13,10 +13,14 @@ cwd= $(shell pwd) d= $(cwd)/debian t= $d/tmp -build: +build_arch: $(checkdir) - set -e; for s in $(subdirs_build); do $(MAKE) -C $$s all; done - touch build + set -e; for s in $(subdirs_build_arch); do $(MAKE) -C $$s all; done + touch build_arch + +build_indep: + +build: build_arch build_indep clean: $(checkdir) -- 2.30.2