28 lines
467 B
Makefile
28 lines
467 B
Makefile
|
MSBUILD = msbuild
|
||
|
CONFIGURATION = Release
|
||
|
BIN = bin/$(CONFIGURATION)
|
||
|
MDOC = $(BIN)/mdoc.exe
|
||
|
|
||
|
all: build
|
||
|
|
||
|
build: $(MDOC)
|
||
|
|
||
|
$(MDOC):
|
||
|
$(MSBUILD) apidoctools.sln /p:Configuration=$(CONFIGURATION)
|
||
|
|
||
|
prepare:
|
||
|
git submodule update --init --recursive
|
||
|
nuget restore apidoctools.sln
|
||
|
|
||
|
clean:
|
||
|
$(MSBUILD) apidoctools.sln /t:clean
|
||
|
rm -rf bin/$(CONFIGURATION)
|
||
|
|
||
|
check: build check-monodoc check-mdoc
|
||
|
|
||
|
check-mdoc:
|
||
|
cd mdoc; $(MAKE) check
|
||
|
|
||
|
check-monodoc:
|
||
|
cd monodoc; $(MAKE) check
|