~ubuntu-branches/debian/sid/findutils/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2012-10-04 19:16:52 UTC
  • Revision ID: package-import@ubuntu.com-20121004191652-7si2181mek5hrqf2
Tags: 4.4.2-5
* Fix config.(sub|guess) update, the relevant files are in build-aux/.
  Closes: #689620
* Add build-arch/build-indep targets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
CPPFLAGS := `dpkg-buildflags --get CPPFLAGS`
23
23
 
24
24
config.status: configure
25
 
        rm -f config.guess config.sub
26
 
        ln -s /usr/share/misc/config.sub /usr/share/misc/config.guess .
 
25
        rm -vf build-aux/config.guess build-aux/config.sub
 
26
        ln -s /usr/share/misc/config.sub /usr/share/misc/config.guess build-aux/
27
27
 
28
28
        dh_testdir
29
29
        # Configure the package.
35
35
                --infodir='$${prefix}/share/info'
36
36
 
37
37
 
38
 
build: build-stamp
 
38
build: build-arch build-indep
 
39
build-arch: build-stamp
 
40
build-indep:
 
41
        #build-indep: nothing to do
39
42
 
40
43
build-stamp:  config.status
41
44
        dh_testdir
56
59
 
57
60
        # Add here commands to clean up after the build process.
58
61
        [ ! -f Makefile ] || $(MAKE) distclean
59
 
        rm -f config.guess config.sub doc/find.info*
 
62
        rm -vf build-aux/config.guess build-aux/config.sub doc/find.info*
60
63
        dh_clean
61
64
 
62
65
install: build
102
105
        dh_builddeb
103
106
 
104
107
binary: binary-indep binary-arch
105
 
.PHONY: build clean binary-indep binary-arch binary install 
 
108
.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install