Browse Source

tools/missing-macros: install files from HOST_BUILD_DIR instead of src

Install files from HOST_BUILD_DIR instead of src. These files are now
correctly copied to HOST_BUILD_DIR and can be referenced from there.

Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi 1 year ago
parent
commit
46bcbe4223
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/missing-macros/Makefile

+ 2 - 2
tools/missing-macros/Makefile

@@ -20,9 +20,9 @@ endef
 
 define Host/Install
 	$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
-	$(INSTALL_DATA) ./src/m4/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
+	$(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
 	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
-	$(INSTALL_BIN) ./src/bin/* $(STAGING_DIR_HOST)/bin/
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/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