File tree 2 files changed +20
-3
lines changed 2 files changed +20
-3
lines changed 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)
2
4
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.
3
17
build :
4
18
mkdir -p build/debug
5
19
cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G " Unix Makefiles" ../..
6
20
make -C build/debug
7
21
8
22
# Currently, this depends on include/json/version.h generated
9
23
# by cmake.
10
- test-amalgamate : build
24
+ test-amalgamate :
11
25
python2.7 amalgamate.py
12
26
python3.4 amalgamate.py
13
27
28
+ clean :
29
+ \r m -rf * .gz * .asc dist/
30
+
14
31
.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