Adding a new target, init, to initialize properly the repo
This commit is contained in:
parent
eb954d7106
commit
034ad9c7e0
8
Makefile
8
Makefile
@ -8,3 +8,11 @@ pdftotext:
|
|||||||
|
|
||||||
extract:
|
extract:
|
||||||
@perl extract_urls.pl data/text/*.txt > $$(date +"output/links-%FT%T.txt")
|
@perl extract_urls.pl data/text/*.txt > $$(date +"output/links-%FT%T.txt")
|
||||||
|
|
||||||
|
init:
|
||||||
|
ifneq (,$(wildcard ./data/text))
|
||||||
|
@mkdir -p data/text
|
||||||
|
endif
|
||||||
|
ifneq (,$(wildcard ./ouput))
|
||||||
|
@mkdir output
|
||||||
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user