File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- all : build test-amalgamate
1+ # This is only for jsoncpp developers/contributors.
2+ # We use this to sign releases, generate documentation, etc.
3+ VER? =$(shell cat version)
24
5+ default :
6+ @echo " VER=${VER} "
7+ sign : jsoncpp-${VER}.tar.gz
8+ gpg --armor --detach-sign $<
9+ gpg --verify $< .asc
10+ # Then upload .asc to the release.
11+ jsoncpp-% .tar.gz :
12+ curl https://github.com/open-source-parsers/jsoncpp/archive/$* .tar.gz -o $@
13+ dox :
14+ python doxybuild.py --doxygen=$$(which doxygen ) --in doc/web_doxyfile.in
15+ rsync -va --delete dist/doxygen/jsoncpp-api-html-${VER} / ../jsoncpp-docs/doxygen/
16+ # Then 'git add -A' and 'git push' in jsoncpp-docs.
317build :
418 mkdir -p build/debug
519 cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G " Unix Makefiles" ../..
620 make -C build/debug
721
822# Currently, this depends on include/json/version.h generated
923# by cmake.
10- test-amalgamate : build
24+ test-amalgamate :
1125 python2.7 amalgamate.py
1226 python3.4 amalgamate.py
1327
28+ clean :
29+ \r m -rf * .gz * .asc dist/
30+
1431.PHONY : build
Original file line number Diff line number Diff line change 1- 1.4.1
1+ 1.4.1
You can’t perform that action at this time.
0 commit comments