~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/a0/a049038d414a2457bb7afb5fb1ab95b8f8f14934.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
arch_binaries  := $(arch_binaries) cpp
 
2
ifneq ($(DEB_CROSS),yes)
 
3
  ifneq ($(GFDL_INVARIANT_FREE),yes)
 
4
    indep_binaries := $(indep_binaries) cpp-doc
 
5
  endif
 
6
endif
 
7
 
 
8
dirs_cpp = \
 
9
        $(docdir) \
 
10
        $(PF)/share/man/man1 \
 
11
        $(PF)/bin \
 
12
        $(gcc_lexec_dir)
 
13
 
 
14
files_cpp = \
 
15
        $(PF)/bin/$(cmd_prefix)cpp$(pkg_ver) \
 
16
        $(gcc_lexec_dir)/cc1 \
 
17
        $(gcc_lexec_dir)/liblto_plugin.so{,.0,.0.0.0}
 
18
 
 
19
ifneq ($(GFDL_INVARIANT_FREE),yes)
 
20
  files_cpp += \
 
21
        $(PF)/share/man/man1/$(cmd_prefix)cpp$(pkg_ver).1
 
22
endif
 
23
 
 
24
# ----------------------------------------------------------------------
 
25
$(binary_stamp)-cpp: $(install_stamp)
 
26
        dh_testdir
 
27
        dh_testroot
 
28
        mv $(install_stamp) $(install_stamp)-tmp
 
29
 
 
30
        rm -rf $(d_cpp)
 
31
        dh_installdirs -p$(p_cpp) $(dirs_cpp)
 
32
        DH_COMPAT=2 dh_movefiles -p$(p_cpp) $(files_cpp)
 
33
 
 
34
ifneq ($(DEB_CROSS),yes)
 
35
        ln -sf cpp$(pkg_ver) \
 
36
            $(d_cpp)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver)
 
37
        ln -sf cpp$(pkg_ver) \
 
38
            $(d_cpp)/$(PF)/bin/$(TARGET_ALIAS)-cpp$(pkg_ver)
 
39
  ifneq ($(GFDL_INVARIANT_FREE),yes)
 
40
        ln -sf cpp$(pkg_ver).1 \
 
41
            $(d_cpp)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-cpp$(pkg_ver).1
 
42
        ln -sf cpp$(pkg_ver).1 \
 
43
            $(d_cpp)/$(PF)/share/man/man1/$(TARGET_ALIAS)-cpp$(pkg_ver).1
 
44
  endif
 
45
else
 
46
  ifeq ($(with_deps_on_target_arch_pkgs),yes)
 
47
    # Copy docs (including copyright) that would be included in gcc-4.7-base
 
48
        dh_installdocs -p$(p_xbase) debian/README.Debian.$(DEB_TARGET_ARCH)
 
49
        rm -f $(d_xbase)/usr/share/doc/$(p_xbase)/README.Debian
 
50
        dh_installchangelogs -p$(p_xbase)
 
51
  endif
 
52
endif
 
53
 
 
54
  ifneq ($(DEB_CROSS)-$(with_deps_on_target_arch_pkgs),yes-yes)
 
55
        debian/dh_doclink -p$(p_cpp) $(p_xbase)
 
56
  endif
 
57
        debian/dh_rmemptydirs -p$(p_cpp)
 
58
 
 
59
        dh_strip -p$(p_cpp)
 
60
        dh_compress -p$(p_cpp)
 
61
        dh_fixperms -p$(p_cpp)
 
62
        dh_shlibdeps -p$(p_cpp)
 
63
        dh_gencontrol -p$(p_cpp) -- -v$(DEB_VERSION) $(common_substvars)
 
64
        dh_installdeb -p$(p_cpp)
 
65
        dh_md5sums -p$(p_cpp)
 
66
        dh_builddeb -p$(p_cpp)
 
67
 
 
68
        trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)
 
69
 
 
70
# ----------------------------------------------------------------------
 
71
$(binary_stamp)-cpp-doc: $(build_html_stamp) $(install_stamp)
 
72
        dh_testdir
 
73
        dh_testroot
 
74
        mv $(install_stamp) $(install_stamp)-tmp
 
75
 
 
76
        rm -rf $(d_cppd)
 
77
        dh_installdirs -p$(p_cppd) \
 
78
                $(docdir)/$(p_xbase) \
 
79
                $(PF)/share/info
 
80
        DH_COMPAT=2 dh_movefiles -p$(p_cppd) \
 
81
                $(PF)/share/info/cpp*
 
82
 
 
83
        debian/dh_doclink -p$(p_cppd) $(p_xbase)
 
84
        dh_installdocs -p$(p_cppd) html/cpp.html html/cppinternals.html
 
85
        rm -f $(d_cppd)/$(docdir)/$(p_xbase)/copyright
 
86
        debian/dh_rmemptydirs -p$(p_cppd)
 
87
 
 
88
        dh_compress -p$(p_cppd)
 
89
        dh_fixperms -p$(p_cppd)
 
90
        dh_installdeb -p$(p_cppd)
 
91
        dh_gencontrol -p$(p_cppd) -- -v$(DEB_VERSION) $(common_substvars)
 
92
        dh_md5sums -p$(p_cppd)
 
93
        dh_builddeb -p$(p_cppd)
 
94
 
 
95
        trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)