~ubuntu-branches/ubuntu/precise/llvm-2.8/precise

« back to all changes in this revision

Viewing changes to debian/packages.d/llvm.mk

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-09-07 17:51:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100907175117-a0kgmxnvkdq5mw3l
Tags: 2.8~20100907-0ubuntu1
* New upstream snapshot, taken from the 2.8 branch.
* Provide a symlink /usr/lib/llvm-2.8svn -> llvm-2.8.
* Merge build fixes from clang and llvm-gcc-4.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
endef
80
80
 
81
81
define llvm_extra_binary
82
 
        echo XXXXX $*
83
82
        if test "x$*" = "xllvm" ; then \
84
83
                find $(D)/debian/$(strip $(call pkgname,$*)) ! -type d -name "lli*" ; \
85
84
                find $(D)/debian/$(strip $(call pkgname,$*)) ! -type d -name "lli*" | xargs $(RM) ; \
100
99
                        gzip -9nf $(D)/debian/$(strip $(call pkgname,$*))/usr/share/doc/$(strip $(call pkgname,$*))/testrun.sum ; \
101
100
                fi ; \
102
101
        fi
103
 
        find $(D)/debian/$(strip $(call pkgname,$*)) ! -type d -name "lli*"
104
102
endef
105
103
 
106
104
define llvm-dev_extra_binary
148
146
                cp -f ../$(PKGNAME)-$(UVERSION)_$(UXVERSION).orig.tar.gz \
149
147
                        $(D)/debian/$(strip $(call pkgname,$*))/usr/src/llvm-$(UVERSION)/$(PKGNAME)-$(UVERSION).tar.gz ; \
150
148
                gunzip $(D)/debian/$(strip $(call pkgname,$*))/usr/src/llvm-$(UVERSION)/$(PKGNAME)-$(UVERSION).tar.gz ; \
151
 
                lzma $(D)/debian/$(strip $(call pkgname,$*))/usr/src/llvm-$(UVERSION)/$(PKGNAME)-$(UVERSION).tar ; \
 
149
                xz $(D)/debian/$(strip $(call pkgname,$*))/usr/src/llvm-$(UVERSION)/$(PKGNAME)-$(UVERSION).tar ; \
152
150
                cp -r $(D)/debian/patches $(D)/debian/$(strip $(call pkgname,$*))/usr/src/llvm-$(UVERSION)/ ; \
153
151
        fi
154
152
endef