~ubuntu-branches/ubuntu/vivid/libmtp/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-06-21 10:44:53 UTC
  • mfrom: (16.2.12 experimental)
  • Revision ID: package-import@ubuntu.com-20120621104453-e9xhmt1aambphgfv
Tags: 1.1.3-24-g9aca343-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        $(XP) $(DB2MAN) $<
33
33
 
34
34
%:
35
 
        dh $@ --with autotools_dev
 
35
        dh $@ --with autoreconf
 
36
 
 
37
override_dh_autoreconf:
 
38
        cp /usr/share/gnulib/build-aux/config.rpath .
 
39
        dh_autoreconf
 
40
 
 
41
override_dh_autoreconf_clean:
 
42
        rm -f config.rpath
 
43
        dh_autoreconf_clean
36
44
 
37
45
override_dh_auto_configure: $(SUBSTFILES) debian/control
38
46
        # Save file modified by configure
39
 
        test -e src/gphoto2-endian.h-orig \
 
47
        ( test -e src/gphoto2-endian.h-orig -o ! \( -e src/gphoto2-endian.h \) ) \
40
48
                || cp src/gphoto2-endian.h src/gphoto2-endian.h-orig
41
49
        dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
42
50