diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-01-16 07:43:21 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-01-16 07:43:21 -0500 |
commit | e4c4c20e7e539d891c3f10b6ef5608c08699c077 (patch) | |
tree | 520eca4b38737e3876a84de639d138f28bc684d1 /parser | |
parent | ed60101550022a2650edc41cd3a63b35fea836c5 (diff) | |
download | uxp-e4c4c20e7e539d891c3f10b6ef5608c08699c077.tar.gz |
Update readme instructions for how to use the java html5 parser codegen makefile
Diffstat (limited to 'parser')
-rw-r--r-- | parser/html/java/README.txt | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/parser/html/java/README.txt b/parser/html/java/README.txt index df1bfcd4c6..b358cc595b 100644 --- a/parser/html/java/README.txt +++ b/parser/html/java/README.txt @@ -1,7 +1,6 @@ If this is your first time building the HTML5 parser, you need to execute the -following commands (from this directory) to bootstrap the translation: +following commands (from this directory) to accomplish the translation: - make sync # fetch remote source files and licenses make translate # perform the Java-to-C++ translation from the remote # sources make named_characters # Generate tables for named character tokenization @@ -13,34 +12,30 @@ repository by retyping 'make translate' in this directory. The makefile supports the following targets: -sync_htmlparser: - Retrieves the HTML parser and Java to C++ translator sources from Mozilla's - htmlparser repository. -sync_javaparser: - Retrieves the javaparser sources from GitHub. -sync: - Runs both sync_javaparser and sync_htmlparser. javaparser: Builds the javaparser library retrieved earlier by sync_javaparser. translator: Runs the javaparser target and then builds the Java to C++ translator from - sources retrieved earlier by sync_htmlparser. + sources. libs: The default target. Alias for translator translate: + Runs the translator target and then translates the HTML parser sources and + copys the parser impl java sources to ../javasrc. +translate-javasrc: Runs the translator target and then translates the HTML parser sources - retrieved by sync_htmlparser copying the Java sources to ../javasrc. -translate_from_snapshot: - Runs the translator target and then translates the HTML parser sources - stored in ../javasrc. -named_characters: + stored in ../javasrc. (Depercated) +named-characters: Generates data tables for named character tokenization. -clean_javaparser: +clean_-avaparser: Removes the build products of the javaparser target. -clean_htmlparser: +clean-htmlparser: Removes the build products of the translator target. +clean-javasrc: + Removes the javasrc snapshot code in ../javasrc clean: - Runs both clean_javaparser and clean_htmlparser. + Runs clean-javaparser, clean-htmlparser, and clean-javasrc. Ben Newman (23 September 2009) Henri Sivonen (11 August 2016) +Matt A. Tobin (16 January 2020) |