Module: kamailio
Branch: master
Commit: 56cdee753a2c7ef17d7cb1f4572f19eae2caf18a
URL:
https://github.com/kamailio/kamailio/commit/56cdee753a2c7ef17d7cb1f4572f19e…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-01-31T20:29:55+01:00
Makefile: support parallelism on install-modules-doc rule
---
Modified: src/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/56cdee753a2c7ef17d7cb1f4572f19e…
Patch:
https://github.com/kamailio/kamailio/commit/56cdee753a2c7ef17d7cb1f4572f19e…
---
diff --git a/src/Makefile b/src/Makefile
index 4ccaf1b5fd..46847d03cc 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -471,13 +471,10 @@ install-$(1)-doc: modules.lst $(doc_prefix)/$(doc_dir)$(1)
if [ -n "$$$$r" -a -r $(1)/"$$$$r/Makefile" ]; then \
if [ -f $(1)/"$$$$r"/README ]; then \
$$(call try_err,\
- $(INSTALL_TOUCH) $(doc_prefix)/$(doc_dir)$(1)/README ); \
+ $(INSTALL_TOUCH) $(doc_prefix)/$(doc_dir)$(1)/README."$$$$r" ); \
$$(call try_err,\
$(INSTALL_DOC) $(1)/"$$$$r"/README \
- $(doc_prefix)/$(doc_dir)$(1)/README ); \
- $$(call try_err,\
- mv -f $(doc_prefix)/$(doc_dir)$(1)/README \
- $(doc_prefix)/$(doc_dir)$(1)/README."$$$$r" ); \
+ $(doc_prefix)/$(doc_dir)$(1)/README."$$$$r" ); \
fi ; \
fi ; \
done; true