~ubuntu-branches/debian/experimental/libmtp/experimental

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-06-16 10:39:41 UTC
  • mfrom: (0.2.7) (16.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120616103941-u61e72y10244eo9e
Tags: 1.1.3-24-g9aca343-1
* New upstream snapshot 1.1.3-24-g9aca343.
* Replace dh-autotools_dev with dh-autoreconf.
  - Build-Depends on dh-autoreconf, gnulib.
  - Install config.rpath by hand.
* Drop {1001-kfreebsd_hurd_ftbfs,1002-fix_libusb_checks}.patch,
  applied upstream.

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
36
 
 
37
 
override_dh_auto_configure:
 
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
 
44
 
 
45
override_dh_auto_configure: $(SUBSTFILES) debian/control
 
46
        # Save file modified by configure
 
47
        ( test -e src/gphoto2-endian.h-orig -o ! \( -e src/gphoto2-endian.h \) ) \
 
48
                || cp src/gphoto2-endian.h src/gphoto2-endian.h-orig
38
49
        dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
39
50
 
40
51
override_dh_auto_clean:
44
55
                || mv src/gphoto2-endian.h-orig src/gphoto2-endian.h
45
56
        dh_auto_clean
46
57
 
47
 
override_dh_auto_build: $(SUBSTFILES) debian/control mtp-tools.1
48
 
        # Save file modified by configure
49
 
        test -e src/gphoto2-endian.h-orig \
50
 
                || cp src/gphoto2-endian.h src/gphoto2-endian.h-orig
 
58
override_dh_auto_build: mtp-tools.1
51
59
        dh_auto_build
52
60
ifneq (,$(findstring libmtp-common, $(shell dh_listpackages)))
53
61
        # Fix mode of udev lifting script