~angelsl/ubuntu/wily/gcc-5/mips-cross

« back to all changes in this revision

Viewing changes to debian/rules.d/binary-libcc1.mk

  • Committer: angelsl
  • Date: 2015-10-30 03:30:35 UTC
  • Revision ID: angelsl-20151030033035-rmug41zm8hyjgisg
Original import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ifneq ($(DEB_CROSS),yes)
 
2
  arch_binaries  := $(arch_binaries) libcc1
 
3
endif
 
4
 
 
5
p_cc1   = libcc1-$(CC1_SONAME)
 
6
d_cc1   = debian/$(p_cc1)
 
7
 
 
8
# ----------------------------------------------------------------------
 
9
$(binary_stamp)-libcc1: $(install_dependencies)
 
10
        dh_testdir
 
11
        dh_testroot
 
12
        mv $(install_stamp) $(install_stamp)-tmp
 
13
 
 
14
        rm -rf $(d_cc1)
 
15
        dh_installdirs -p$(p_cc1) \
 
16
                $(docdir) \
 
17
                $(usr_lib)
 
18
        $(dh_compat2) dh_movefiles -p$(p_cc1) \
 
19
                $(usr_lib)/libcc1.so.*
 
20
 
 
21
        debian/dh_doclink -p$(p_cc1) $(p_xbase)
 
22
        debian/dh_rmemptydirs -p$(p_cc1)
 
23
 
 
24
        dh_strip -p$(p_cc1)
 
25
        dh_compress -p$(p_cc1)
 
26
        dh_makeshlibs -p$(p_cc1)
 
27
        dh_shlibdeps -p$(p_cc1)
 
28
        dh_fixperms -p$(p_cc1)
 
29
        dh_installdeb -p$(p_cc1)
 
30
        dh_gencontrol -p$(p_cc1) -- -v$(DEB_VERSION) $(common_substvars)
 
31
        dh_md5sums -p$(p_cc1)
 
32
        dh_builddeb -p$(p_cc1)
 
33
 
 
34
        trap '' 1 2 3 15; touch $@; mv $(install_stamp)-tmp $(install_stamp)