Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 2a058e9

Browse files
committed
remove erlang.mk built-in protobuf handler
1 parent 7995ba5 commit 2a058e9

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

erlang.mk

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3098,14 +3098,6 @@ pkg_props_fetch = git
30983098
pkg_props_repo = https://github.com/greyarea/props
30993099
pkg_props_commit = master
31003100

3101-
PACKAGES += protobuffs
3102-
pkg_protobuffs_name = protobuffs
3103-
pkg_protobuffs_description = An implementation of Google's Protocol Buffers for Erlang, based on ngerakines/erlang_protobuffs.
3104-
pkg_protobuffs_homepage = https://github.com/basho/erlang_protobuffs
3105-
pkg_protobuffs_fetch = git
3106-
pkg_protobuffs_repo = https://github.com/basho/erlang_protobuffs
3107-
pkg_protobuffs_commit = master
3108-
31093101
PACKAGES += psycho
31103102
pkg_psycho_name = psycho
31113103
pkg_psycho_description = HTTP server that provides a WSGI-like interface for applications and middleware.
@@ -4876,37 +4868,6 @@ ERLANG_MK_RECURSIVE_REL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-rel-deps-list.log
48764868
ERLANG_MK_RECURSIVE_TEST_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-test-deps-list.log
48774869
ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST = $(ERLANG_MK_TMP)/recursive-shell-deps-list.log
48784870

4879-
# Copyright (c) 2015-2016, Loïc Hoguin <[email protected]>
4880-
# This file is part of erlang.mk and subject to the terms of the ISC License.
4881-
4882-
# Verbosity.
4883-
4884-
proto_verbose_0 = @echo " PROTO " $(filter %.proto,$(?F));
4885-
proto_verbose = $(proto_verbose_$(V))
4886-
4887-
# Core targets.
4888-
4889-
define compile_proto
4890-
$(verbose) mkdir -p ebin/ include/
4891-
$(proto_verbose) $(call erlang,$(call compile_proto.erl,$(1)))
4892-
$(proto_verbose) erlc +debug_info -o ebin/ ebin/*.erl
4893-
$(verbose) rm ebin/*.erl
4894-
endef
4895-
4896-
define compile_proto.erl
4897-
[begin
4898-
protobuffs_compile:generate_source(F,
4899-
[{output_include_dir, "./include"},
4900-
{output_src_dir, "./ebin"}])
4901-
end || F <- string:tokens("$(1)", " ")],
4902-
halt().
4903-
endef
4904-
4905-
ifneq ($(wildcard src/),)
4906-
ebin/$(PROJECT).app:: $(sort $(call core_find,src/,*.proto))
4907-
$(if $(strip $?),$(call compile_proto,$?))
4908-
endif
4909-
49104871
# Copyright (c) 2013-2016, Loïc Hoguin <[email protected]>
49114872
# This file is part of erlang.mk and subject to the terms of the ISC License.
49124873

0 commit comments

Comments
 (0)