~ubuntu-branches/ubuntu/utopic/mm/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-01-29 17:09:24 UTC
  • mfrom: (7.1.2 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140129170924-43jdr1huc0zofrhz
Tags: 1.4.2-5ubuntu3
Reinstate autotools-dev to update config.{sub,guess} for new arches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
 
6
export AUTOHEADER = true
6
7
 
7
8
# These are used for cross-compiling and for saving the configure script
8
9
# from having to guess our platform (since we know it already)
20
21
 
21
22
config.status: configure
22
23
        dh_testdir
23
 
 
24
 
        if [ ! -f config.sub.save ]; then cp config.sub config.sub.save ; fi
25
 
        if [ ! -f config.guess.save ]; then cp config.guess config.guess.save ; fi
26
 
 
27
 
        -test -r /usr/share/misc/config.sub && \
28
 
          cp -f /usr/share/misc/config.sub config.sub
29
 
        -test -r /usr/share/misc/config.guess && \
30
 
          cp -f /usr/share/misc/config.guess config.guess
 
24
        dh_autotools-dev_updateconfig
 
25
        dh_autoreconf
31
26
 
32
27
        ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-shm=IPCSHM
33
28
 
48
43
 
49
44
        if [ -f Makefile ]; then $(MAKE) distclean ; fi
50
45
 
51
 
        -test -r config.sub.save && \
52
 
          mv config.sub.save config.sub
53
 
        -test -r config.guess.save && \
54
 
          mv config.guess.save config.guess
55
 
 
 
46
        dh_autoreconf_clean
 
47
        dh_autotools-dev_restoreconfig
56
48
        dh_clean
57
49
 
58
50
install: build