~ubuntu-branches/ubuntu/trusty/cloog/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-11-18 07:05:55 UTC
  • mfrom: (3.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20131118070555-56wg7itzwsycbu2i
Tags: 0.18.1-2
Don't run help2man for cross builds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        rm -f debian/tmp/usr/share/info/dir*
62
62
        mv debian/tmp/usr/bin/cloog debian/tmp/usr/bin/cloog-isl
63
63
        mkdir -p debian/tmp/usr/share/man/man1
 
64
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
64
65
        LD_PRELOAD=$${LD_PRELOAD:+$$LD_PRELOAD:}$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libcloog-isl.so.4 \
65
66
        PATH=$(CURDIR)/debian/tmp/usr/bin:$$PATH \
66
67
                help2man -n 'The Chunky Loop Generator' cloog-isl \
67
 
                > debian/tmp/usr/share/man/man1/cloog-isl.1
 
68
                > debian/cloog-isl.1
 
69
endif
 
70
        cp debian/cloog-isl.1 debian/tmp/usr/share/man/man1/cloog-isl.1
68
71
        dh_install --sourcedir=debian/tmp --list-missing
69
72
 
70
73