Fix Makefile
This commit is contained in:
parent
2be0ae6d5d
commit
89956c72a8
@ -85,7 +85,7 @@ endif
|
|||||||
ifeq ($(SENTENCE_EXTRACTION_METHOD),from-tex)
|
ifeq ($(SENTENCE_EXTRACTION_METHOD),from-tex)
|
||||||
sentences.txt: $(PAPER_ID).tex helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-refere
|
sentences.txt: $(PAPER_ID).tex helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-refere
|
||||||
nces.pl
|
nces.pl
|
||||||
bash helpers/get-sentences.sh $< from-tex > $@
|
bash helpers/get-sentences.sh $< from-tex > $@
|
||||||
else
|
else
|
||||||
sentences.txt: $(PAPER_ID).pdf helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
sentences.txt: $(PAPER_ID).pdf helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
||||||
bash helpers/get-sentences.sh $< > $@
|
bash helpers/get-sentences.sh $< > $@
|
||||||
@ -105,7 +105,7 @@ else
|
|||||||
autozoil: autozoil.xml autozoil-external-check.xml
|
autozoil: autozoil.xml autozoil-external-check.xml
|
||||||
|
|
||||||
autozoil-external-check.xml: sentences.txt
|
autozoil-external-check.xml: sentences.txt
|
||||||
curl -X POST -H "Content-Type: multipart/form-data" -F "file=@sentences.txt" $(EXTERNAL_PLAIN_TEXT_CHECKER) > $@
|
curl -X POST -H "Content-Type: multipart/form-data" -F "file=@sentences.txt" $(EXTERNAL_PLAIN_TEXT_CHECKER) > $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
autozoil.xml: $(CONTENT_TEX_SOURCES)
|
autozoil.xml: $(CONTENT_TEX_SOURCES)
|
||||||
|
Loading…
Reference in New Issue
Block a user