Files
gf-rgl/Makefile
Thomas Hallgren aa4257efef Add a 'make doc' target in the main Makefile
It first build the RGL, then calls doc/Makefile,
with the corrent GF_LIB_PATH, to build the documentation.
2018-10-22 21:43:41 +02:00

22 lines
295 B
Makefile

# A simple wrapper over the Haskell-based RGL build script
RUNMAKE=runghc Make.hs
.PHONY: build copy install doc clean
default: build copy
build: src/*/*.gf
$(RUNMAKE) build
copy:
$(RUNMAKE) copy
install: build copy
doc: build
make -C doc GF_LIB_PATH=../dist
clean:
$(RUNMAKE) clean