/usr/src/gcc-5/debian/rules.d/binary-base.mk is in gcc-5-source 5.5.0-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | arch_binaries += base
ifeq ($(with_gcclbase),yes)
ifneq ($(with_base_only),yes)
indep_binaries += lbase
endif
endif
# ---------------------------------------------------------------------------
# gcc-base
ifneq (,$(filter $(distrelease),oneiric precise wheezy sid))
additional_links =
else ifneq (,$(filter $(distrelease),))
additional_links =
else
additional_links =
endif
$(binary_stamp)-base: $(install_dependencies)
dh_testdir
dh_testroot
rm -rf $(d_base)
dh_installdirs -p$(p_base) \
$(gcc_lexec_dir)
ifneq ($(DEB_STAGE),rtlibs)
ln -sf $(BASE_VERSION) \
$(d_base)/$(subst /$(BASE_VERSION),/$(GCC_VERSION),$(gcc_lib_dir))
for link in $(additional_links); do \
ln -sf $(BASE_VERSION) \
$(d_base)/$$(dirname $(gcc_lib_dir))/$$link; \
done
ifneq ($(gcc_lib_dir),$(gcc_lexec_dir))
ln -sf $(BASE_VERSION) \
$(d_base)/$(subst /$(BASE_VERSION),/$(GCC_VERSION),$(gcc_lexec_dir))
for link in $(additional_links); do \
ln -sf $(BASE_VERSION) \
$(d_base)/$$(dirname $(gcc_lexec_dir))/$$link; \
done
endif
endif
ifeq ($(with_base_only),yes)
dh_installdocs -p$(p_base) debian/README.Debian
else
dh_installdocs -p$(p_base) debian/README.Debian.$(DEB_TARGET_ARCH)
endif
rm -f $(d_base)/usr/share/doc/$(p_base)/README.Debian
dh_installchangelogs -p$(p_base)
dh_compress -p$(p_base)
dh_fixperms -p$(p_base)
ifeq ($(DEB_STAGE)-$(DEB_CROSS),rtlibs-yes)
$(cross_gencontrol) dh_gencontrol -p$(p_base) -- -v$(DEB_VERSION) $(common_substvars)
else
dh_gencontrol -p$(p_base) -- -v$(DEB_VERSION) $(common_substvars)
endif
dh_installdeb -p$(p_base)
dh_md5sums -p$(p_base)
dh_builddeb -p$(p_base)
touch $@
$(binary_stamp)-lbase: $(install_dependencies)
dh_testdir
dh_testroot
rm -rf $(d_lbase)
dh_installdocs -p$(p_lbase) debian/README.Debian
rm -f debian/$(p_lbase)/usr/share/doc/$(p_lbase)/README.Debian
dh_installchangelogs -p$(p_lbase)
dh_compress -p$(p_lbase)
dh_fixperms -p$(p_lbase)
dh_gencontrol -p$(p_lbase) -- -v$(DEB_VERSION) $(common_substvars)
dh_installdeb -p$(p_lbase)
dh_md5sums -p$(p_lbase)
dh_builddeb -p$(p_lbase)
touch $@
|