summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2018-01-06 16:09:06 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2018-01-06 16:09:06 +0000
commite220b0fc2ede1dcbbe7e6e62c256e2ec297f26a3 (patch)
tree1257c1e5076b37f52cd241cd10dda5f4a523a298 /README
parent850a55e0feb026ace04b63b9cb8a8c3313768327 (diff)
downloadlibcss-e220b0fc2ede1dcbbe7e6e62c256e2ec297f26a3.tar.gz
libcss-e220b0fc2ede1dcbbe7e6e62c256e2ec297f26a3.tar.bz2
Build: Commit generated computed style access source code.
This means python3 is not required to build libcss. To re-generate the compute style access code, e.g. when adding new CSS properties, developers must run `make select_generator` and commit the updated generated source code.
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 12 insertions, 3 deletions
diff --git a/README b/README
index b70bc6a..0f45b87 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ Requirements
+ GNU make or compatible
+ Pkg-config
+ Perl (for the testcases)
- + Python3 (minimum 3.6)
+ + Python3 (minimum 3.6, for generated selection code)
LibCSS also requires the following libraries to be installed:
@@ -28,7 +28,16 @@ Compilation
If necessary, modify the toolchain settings in the Makefile.
Invoke make:
- $ make
+
+ $ make
+
+Regenerating generated selection source code
+--------------------------------------------
+
+ To regenerate the selection sources (computed style data accesses),
+ note this requires python3:
+
+ $ make select_generator
Verification
------------
@@ -36,7 +45,7 @@ Verification
To verify that the parser is working, it is necessary to specify a
different makefile target than that used for normal compilation, thus:
- $ make test
+ $ make test
API documentation
-----------------