Ensure OUTDIR exists before make preview

This commit is contained in:
Sam Whited 2020-04-19 15:36:36 -04:00
parent 357497d259
commit 71ea00d59b
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ clean:
rm -rf $(OUTDIR) rm -rf $(OUTDIR)
.PHONY: preview .PHONY: preview
preview: preview: $(OUTDIR)
inotifywait -m -e close_write,moved_to --format '%e %w %f' $(XEPDIRS) | \ inotifywait -m -e close_write,moved_to --format '%e %w %f' $(XEPDIRS) | \
while read -r event dir file; do \ while read -r event dir file; do \
if [ "$${file: -4}" == ".xml" ]; then \ if [ "$${file: -4}" == ".xml" ]; then \