File: rules

package info (click to toggle)
opentelemetry-proto 1.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 524 kB
  • sloc: makefile: 146
file content (22 lines) | stat: -rwxr-xr-x 887 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PATH := $(CURDIR)/debian/tmp/bin:$(PATH)
export CURDIR

%:
	dh $@

execute_before_dh_auto_build:
	mkdir -p debian/tmp/bin
	ln -s /usr/bin/grpc_cpp_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-cpp
	# The PHP and ruby code is not built currently
	#ln -s /usr/bin/grpc_php_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-php
	#ln -s /usr/bin/grpc_ruby_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-ruby
	# The following plugins are missing in the protobuf-compiler-grpc package:
	#ln -s /usr/bin/grpc_csharp_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-csharp
	#ln -s /usr/bin/grpc_node_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-js
	#ln -s /usr/bin/grpc_objective_c_plugin $(CURDIR)/debian/tmp/bin/protoc-gen-grpc-objc