1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-23 17:52:15 -05:00

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

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 \