Fixed makefile recipe

master
Alice 6 years ago
parent e4e26a78f1
commit 62c07bd59b

@ -92,8 +92,8 @@ output/carlandre.txt: ocr/output.txt ## Alice: Creates visual poetry out of a te
cat $< | python3 src/carlandre.py > $(@)
# cat $(@) > /dev/usb/lp0
output/overunder.txt: ocr/output.txt ## Alice: An interpreted language that translate simple weaving instructions and creates a weaving pattern on text. Dependencies:
cat $< | python3 src/overunder.py > $(@)
output/overunder.txt: ocr/output.txt ## Alice: An interpreted language that translate simple weaving instructions and creates a weaving pattern on text.
python3 src/overunder.py
visualization: $(images) $(tmpfile) ##Creates data visualization from images/*.jpg. Dependencies: mplayer

@ -43,7 +43,7 @@ def eval(cmds):
last_index = 0
elif cmd[0] == 'load':
contents = open('output.txt').read()
contents = open('ocr/output.txt').read()
text = textwrap.wrap(contents, 40, break_long_words=True)
print('\n'.join(text))
line_number = 0

Loading…
Cancel
Save