mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Makefile: add clean-netsurf and test-netsurf
Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
16
Makefile
16
Makefile
@@ -56,6 +56,7 @@ test:
|
|||||||
# ------------
|
# ------------
|
||||||
.PHONY: install-submodule
|
.PHONY: install-submodule
|
||||||
.PHONY: install-lexbor install-jsruntime install-jsruntime-dev
|
.PHONY: install-lexbor install-jsruntime install-jsruntime-dev
|
||||||
|
.PHONY: install-netsurf clean-netsurf test-netsurf
|
||||||
.PHONY: install-dev install
|
.PHONY: install-dev install
|
||||||
|
|
||||||
## Install and build dependencies for release
|
## Install and build dependencies for release
|
||||||
@@ -108,6 +109,21 @@ install-netsurf:
|
|||||||
rm a.out && \
|
rm a.out && \
|
||||||
printf "\e[36mDone NetSurf $(OS)\e[0m\n"
|
printf "\e[36mDone NetSurf $(OS)\e[0m\n"
|
||||||
|
|
||||||
|
clean-netsurf:
|
||||||
|
@printf "\e[36mCleaning NetSurf build...\e[0m\n" && \
|
||||||
|
cd vendor/netsurf && \
|
||||||
|
rm -R build && \
|
||||||
|
rm -R lib && \
|
||||||
|
rm -R include
|
||||||
|
|
||||||
|
test-netsurf:
|
||||||
|
@printf "\e[36mTesting NetSurf...\e[0m\n" && \
|
||||||
|
export PREFIX=$(BC_NS) && \
|
||||||
|
export LDFLAGS="-L$(ICONV)/lib -L$(BC_NS)/lib" && \
|
||||||
|
export CFLAGS="-I$(ICONV)/include -I$(BC_NS)/include" && \
|
||||||
|
cd vendor/netsurf/libdom && \
|
||||||
|
BUILDDIR=$(BC_NS)/build/libdom make test
|
||||||
|
|
||||||
|
|
||||||
install-lexbor:
|
install-lexbor:
|
||||||
@mkdir -p vendor/lexbor
|
@mkdir -p vendor/lexbor
|
||||||
|
|||||||
Reference in New Issue
Block a user