chiark / gitweb /
provide build-arch, build-indep
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 2 Jun 2012 15:30:55 +0000 (16:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 2 Jun 2012 15:30:55 +0000 (16:30 +0100)
debian/rules

index eef6216bfb4c5112b903fdfa423fefb59c0345c9..05edd5f77fbae685c591fd46de5fa60a5ccd6e5a 100755 (executable)
@@ -11,24 +11,23 @@ else
        INSTOPTS= INSTALL_PROGRAM='install -c'
 endif
 
-build:
+build: build-arch build-indep
+
+build-arch:
        $(checkdir)
        ./configure --prefix=/usr
        $(MAKE) all docs
-       touch build
+       touch build-arch
 
 clean:
        $(checkdir)
-       rm -f build
+       rm -f build build-arch
        $(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
        rm -rf *~ $t debian/*~ debian/files* debian/substvars*
        rm -rf spec.html
 
-binary-indep:  checkroot build
-       $(checkdir)
-# There are no architecture-independent files to be uploaded
-# generated by this package.  If there were any they would be
-# made here.
+build-indep:
+binary-indep:
 
 binary-arch:   checkroot build
        $(checkdir)