chiark / gitweb /
arch and indep
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 01:04:55 +0000 (02:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 01:04:55 +0000 (02:04 +0100)
.gitignore
debian/changelog
debian/rules

index 26ff752..f6e8c30 100644 (file)
@@ -1,7 +1,7 @@
 *~
 *.o
 
-build
+build_arch
 
 cprogs/readbuffer
 cprogs/writebuffer
index 64babee..7520e20 100644 (file)
@@ -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.
index 7ac91e2..7922196 100755 (executable)
@@ -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)