Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Olm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Olm
Commits
d30db7b5
Commit
d30db7b5
authored
8 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
Makefile rules to build the rst into html
parent
f3b9c3bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+5
-1
5 additions, 1 deletion
.gitignore
Makefile
+12
-2
12 additions, 2 deletions
Makefile
with
17 additions
and
3 deletions
.gitignore
+
5
−
1
View file @
d30db7b5
build
/build
/CHANGELOG.html
/docs/olm.html
/olm-*.tgz
/README.html
/tracing/README.html
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
12
−
2
View file @
d30db7b5
...
...
@@ -44,6 +44,10 @@ JS_PRE := $(wildcard javascript/*pre.js)
JS_POST
:=
javascript/olm_outbound_group_session.js
\
javascript/olm_inbound_group_session.js
\
javascript/olm_post.js
DOCS
:=
tracing/README.html
\
docs/olm.html
\
README.html
\
CHANGELOG.html
CPPFLAGS
+=
-Iinclude
-Ilib
# we rely on <stdint.h>, which was introduced in C99
...
...
@@ -143,7 +147,7 @@ $(JS_EXPORTED_FUNCTIONS): $(PUBLIC_HEADERS)
perl
-MJSON
-ne
'$$f{"_$$1"}=1 if /(olm_[^( ]*)\(/; END { @f=sort keys %f; print encode_json \@f }'
$^
>
$@
.tmp
mv
$@
.tmp
$@
all
:
test js lib debug
all
:
test js lib debug
doc
.PHONY
:
all
install-debug
:
debug
...
...
@@ -163,9 +167,12 @@ install: lib
.PHONY
:
install
clean
:
;
rm
-rf
$(
BUILD_DIR
)
rm
-rf
$(
BUILD_DIR
)
$(
DOCS
)
.PHONY
:
clean
doc
:
$(DOCS)
.PHONY
:
doc
### rules for building objects
$(BUILD_DIR)/release/%.o
:
%.c
mkdir
-p
$(
dir
$@
)
...
...
@@ -219,6 +226,9 @@ $(BUILD_DIR)/fuzzers/debug_%: fuzzers/fuzz_%.c $(DEBUG_OBJECTS)
$(BUILD_DIR)/fuzzers/debug_%
:
fuzzers/fuzz_%.cpp $(DEBUG_OBJECTS)
$(
LINK.cc
)
$<
$(
DEBUG_OBJECTS
)
$(
LOADLIBES
)
$(
LDLIBS
)
-o
$@
%.html
:
%.rst
rst2html
$<
$@
### dependencies
-include
$(RELEASE_OBJECTS:.o=.d)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment