[openwrt/openwrt] tools/missing-macros: add symlinks to makeinfo

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 25 14:10:25 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cdd56fc8934142a7df68118830611617ddb5e8fc

commit cdd56fc8934142a7df68118830611617ddb5e8fc
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Mon Apr 15 21:08:06 2024 -0400

    tools/missing-macros: add symlinks to makeinfo
    
    There are other wrapper scripts released with makeinfo like texi2pdf which
    are required by the build prerequisites of some tools, and have a similar
    purpose and usage.
    
    Let the makeinfo perl script handle all of these cases.
    
    It's worth mentioning that "texi2any" is the actual program and "makeinfo"
    is one of it's aliases. From upstream GNU:
    
      makeinfo: texi2any
            rm -f $@
            -$(LN_S) texi2any $@
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 tools/missing-macros/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/missing-macros/Makefile b/tools/missing-macros/Makefile
index 1e423621bd..edbcb84302 100644
--- a/tools/missing-macros/Makefile
+++ b/tools/missing-macros/Makefile
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=missing-macros
-PKG_RELEASE:=11
+PKG_RELEASE:=12
 
 include $(INCLUDE_DIR)/host-build.mk
 
@@ -23,6 +23,11 @@ define Host/Install
 	$(INSTALL_DATA) ./src/m4/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
 	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
 	$(INSTALL_BIN) ./src/bin/* $(STAGING_DIR_HOST)/bin/
+	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2any
+	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2pdf
+	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2dvi
+	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/pdftexi2dvi
+	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2html
 endef
 
 $(eval $(call HostBuild))




More information about the lede-commits mailing list