diff options
author | michele papalini <micpapal+fdio@cisco.com> | 2017-02-23 17:01:34 +0100 |
---|---|---|
committer | Michele Papalini <micpapal+fdio@cisco.com> | 2017-02-23 17:23:19 +0000 |
commit | c580a00aac271a524e5a75b35f4b91c174ed227b (patch) | |
tree | feddc15a9f1a4eb319d950f8d6330ac2b91e3d99 /metis/documentation/Makefile.notautomake | |
parent | 9b30fc10fb1cbebe651e5a107e8ca5b24de54675 (diff) |
Initial commit: sb-forwarder, metis.
Change-Id: I65ee3c851a6901929ef4417ad80d34bca0dce445
Signed-off-by: michele papalini <micpapal+fdio@cisco.com>
Diffstat (limited to 'metis/documentation/Makefile.notautomake')
-rw-r--r-- | metis/documentation/Makefile.notautomake | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/metis/documentation/Makefile.notautomake b/metis/documentation/Makefile.notautomake new file mode 100644 index 00000000..eb45786e --- /dev/null +++ b/metis/documentation/Makefile.notautomake @@ -0,0 +1,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 |