summaryrefslogtreecommitdiffstats
path: root/parser/html/java/Makefile
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-09-06 10:32:40 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-09-06 10:32:40 +0200
commit2d33b998c72d57abcde836bd2985ad72265d9697 (patch)
tree7e6cb902694ac348b6b785a14a997451d0b80951 /parser/html/java/Makefile
parent47f4227deac7db16fbb8f4aec0376f552fc296b5 (diff)
parent9fdff854ebf1fe1a118061d57fd0a2d6c5c7dfd7 (diff)
downloadUXP-2d33b998c72d57abcde836bd2985ad72265d9697.tar
UXP-2d33b998c72d57abcde836bd2985ad72265d9697.tar.gz
UXP-2d33b998c72d57abcde836bd2985ad72265d9697.tar.lz
UXP-2d33b998c72d57abcde836bd2985ad72265d9697.tar.xz
UXP-2d33b998c72d57abcde836bd2985ad72265d9697.zip
Merge branch 'release' into Pale_Moon-release
# Conflicts: # application/palemoon/config/version.txt
Diffstat (limited to 'parser/html/java/Makefile')
-rw-r--r--parser/html/java/Makefile59
1 files changed, 0 insertions, 59 deletions
diff --git a/parser/html/java/Makefile b/parser/html/java/Makefile
deleted file mode 100644
index b43523e03..000000000
--- a/parser/html/java/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-libs:: translator
-
-translator:: javaparser \
-; mkdir -p htmlparser/bin && \
- find htmlparser/translator-src/nu/validator/htmlparser -name "*.java" | \
- xargs javac -cp javaparser.jar -g -d htmlparser/bin && \
- jar cfm translator.jar manifest.txt -C htmlparser/bin .
-
-javaparser:: \
-; mkdir -p javaparser/bin && \
- find javaparser/src -name "*.java" | \
- xargs javac -encoding ISO-8859-1 -g -d javaparser/bin && \
- jar cf javaparser.jar -C javaparser/bin .
-
-sync_javaparser:: \
-; if [ ! -d javaparser/.git ] ; \
- then rm -rf javaparser ; \
- git clone https://github.com/javaparser/javaparser.git ; \
- fi ; \
- cd javaparser ; git checkout javaparser-1.0.6 ; cd ..
-
-sync_htmlparser:: \
-; if [ -d htmlparser/.hg ] ; \
- then cd htmlparser ; hg pull --rebase ; cd .. ; \
- else \
- rm -rf htmlparser ; \
- hg clone https://hg.mozilla.org/projects/htmlparser ; \
- fi
-
-sync:: sync_javaparser sync_htmlparser
-
-translate:: translator \
-; mkdir -p ../javasrc ; \
- java -jar translator.jar \
- htmlparser/src/nu/validator/htmlparser/impl \
- .. ../nsHtml5AtomList.h
-
-translate_from_snapshot:: translator \
-; mkdir -p ../javasrc ; \
- java -jar translator.jar \
- ../javasrc \
- .. ../nsHtml5AtomList.h
-
-named_characters:: translator \
-; java -cp translator.jar \
- nu.validator.htmlparser.generator.GenerateNamedCharactersCpp \
- named-character-references.html ../
-
-clean_javaparser:: \
-; rm -rf javaparser/bin javaparser.jar
-
-clean_htmlparser:: \
-; rm -rf htmlparser/bin translator.jar
-
-clean:: clean_javaparser clean_htmlparser