Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
01f9ee5f
Commit
01f9ee5f
authored
Jul 09, 2016
by
Muri Nicanor
Committed by
GitHub
Jul 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
let the makefile choose the correct sed
parent
98d48ef0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
doc/Makefile
doc/Makefile
+11
-10
No files found.
doc/Makefile
View file @
01f9ee5f
SRCDIR
=
../src
SED
:=
$(
shell
command
-v
sed
||
gsed
)
all
:
doxygen
...
...
@@ -52,10 +53,10 @@ clean:
# create Doxygen documentation
doxygen
:
create_output create_links
doxygen
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
upload
:
clean doxygen check_output
cd
html
;
../scripts/git-update-ghpages nlohmann/json
...
...
@@ -70,14 +71,14 @@ upload: clean doxygen check_output
# create docset for Dash
docset
:
create_output
cp
Doxyfile Doxyfile_docset
gsed
-i
's/DISABLE_INDEX = NO/DISABLE_INDEX = YES/'
Doxyfile_docset
gsed
-i
's/SEARCHENGINE = YES/SEARCHENGINE = NO/'
Doxyfile_docset
gsed
-i
's@HTML_EXTRA_STYLESHEET = css/mylayout.css@HTML_EXTRA_STYLESHEET = css/mylayout_docset.css@'
Doxyfile_docset
$(SED)
-i
's/DISABLE_INDEX = NO/DISABLE_INDEX = YES/'
Doxyfile_docset
$(SED)
-i
's/SEARCHENGINE = YES/SEARCHENGINE = NO/'
Doxyfile_docset
$(SED)
-i
's@HTML_EXTRA_STYLESHEET = css/mylayout.css@HTML_EXTRA_STYLESHEET = css/mylayout_docset.css@'
Doxyfile_docset
rm
-fr
html
*
.docset
doxygen Doxyfile_docset
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
gsed
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
$(SED)
-i
's@< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, AllocatorType >@@g'
html/
*
.html
make
-C
html
mv
html/
*
.docset .
gsed
-i
's@<string>doxygen</string>@<string>json</string>@'
me.nlohmann.json.docset/Contents/Info.plist
$(SED)
-i
's@<string>doxygen</string>@<string>json</string>@'
me.nlohmann.json.docset/Contents/Info.plist
rm
-fr
Doxyfile_docset html
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment