File: rules

package info (click to toggle)
bazel-rules-cc 0.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,092 kB
  • sloc: python: 3,735; sh: 846; cpp: 827; makefile: 12; ansic: 5
file content (19 lines) | stat: -rwxr-xr-x 573 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export INSTALL_PATH = /usr/share/bazel/rules/cc
export RULES_CC_DIR = ${CURDIR}/debian/bazel-rules-cc

%:
	dh $@

override_dh_auto_build:

override_dh_auto_install:

execute_before_dh_link-indep:
	jdupes -rl debian/bazel-rules-cc/usr

execute_before_dh_fixperms-indep:
	chmod a+x ${RULES_CC_DIR}/usr/share/bazel/rules/cc/cc/private/toolchain/build_interface_so
	chmod a+x ${RULES_CC_DIR}/usr/share/bazel/rules/cc/cc/private/toolchain/linux_cc_wrapper.sh.tpl
	chmod a+x ${RULES_CC_DIR}/usr/share/bazel/rules/cc/cc/private/toolchain/osx_cc_wrapper.sh.tpl