aboutsummaryrefslogtreecommitdiffstats
path: root/metis/documentation/Makefile.notautomake
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2017-02-24 07:59:45 +0000
committerGerrit Code Review <gerrit@fd.io>2017-02-24 07:59:45 +0000
commite0ec678c016fbce560e7f94973d4fada3ba5e799 (patch)
treea171ed331a830510f3064a6ad99b296ac1b2d2bc /metis/documentation/Makefile.notautomake
parentf28308bd99381ef5f1e178e2e1f870f245e35873 (diff)
parentc580a00aac271a524e5a75b35f4b91c174ed227b (diff)
Merge "Initial commit: sb-forwarder, metis." into sb-forwarder/master
Diffstat (limited to 'metis/documentation/Makefile.notautomake')
-rw-r--r--metis/documentation/Makefile.notautomake40
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