added target to update Doxygen

This commit is contained in:
Niels 2015-06-21 12:45:46 +02:00
parent 3a5b50d614
commit e289eada49

View File

@ -42,6 +42,16 @@ docset: update_docs src/json.hpp
gsed -i 's@<string>doxygen</string>@<string>json</string>@' me.nlohmann.json.docset/Contents/Info.plist
rm -fr Doxyfile_docset html
# update online documentation
update_doxygen_online:
make re2c pretty doxygen
rm -fr /tmp/github-html
cp -r html /tmp/github-html
git checkout gh-pages
rm -fr html
mv /tmp/github-html html
git checkout master
# create scanner with re2c
re2c: src/json.hpp.re2c
$(RE2C) -b -s -i --no-generation-date $< | $(SED) '1d' > src/json.hpp