[regtest] Fix new places of ucsim simulators
[sdcc.git] / sdcc-build / components / sdcc-web.mk
blob13ce8f4a0430a16a479937f47fae59a8fb9dba89
1 # Prevent multiple inclusion
2 ifneq ($(SDCCWEBMKINCLUDE), 1)
3 SDCCWEBMKINCLUDE = 1
5 # Add sdcc-web to the list of source trees that need to be fetched
6 SRCTREES += sdcc-web
8 _SDCC_WEB_ORIG_DIR = $(ORIGDIR)/sdcc-web
10 .PHONY: sdcc-web-copy
12 build-sdcc-web: fetch-orig-trees sdcc-web-copy
14 sdcc-web-copy:
15 # Create dirs for the WEB
16 mkdir -p $(HTDOCSDIR)
17 # Copy everything
18 cp -r $(_SDCC_WEB_ORIG_DIR)/* $(HTDOCSDIR)
20 endif