aboutsummaryrefslogtreecommitdiffstats
path: root/metis/documentation/Makefile.notautomake
blob: eb45786e3ec0ddc625cda70480ad55e73eaa1731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
DOXYGEN=/Applications/Doxygen.app/Contents/Resources/doxygen
INSTALLDIR=.

# This needs to be the same filename that is in gh-pages branch, ./Makefile
GHPAGES=/tmp/metis-gh-pages.tgz

all: doc 

score: all
	(cd Jekyll/Libccnx/metis/latex ; make) | grep "Output.*pages" | tail -1 > metis.score
	(echo Jekyll/Libccnx/metis/*.html | wc -w) >> metis.score

clean:
	make -C Jekyll clean
	rm -rf Jekyll/Libccnx/metis/
	${RM} doxygen.log metis.score

help:
	@echo "make doc      Make the documentation"
	@echo "make install  Make a tar file containing the documentation suitable for a gh-page site."
	@echo "make jekyll   Make the Jekyll website (implicit when making 'doc')"
	@echo "make all      The same as make doc"

doc: site metis 

metis: doxygen-metis.conf
	${DOXYGEN} doxygen-metis.conf >& doxygen.log

install: doc
	make -C Jekyll clean build
	(cd Jekyll/Libccnx/_site; tar czf ${GHPAGES} . )
	@echo Now git checkout gh-pages and type make install

site:
	$(MAKE) -C Jekyll

serve:
	$(MAKE) -C Jekyll serve

clobber: clean