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:
parent
357497d259
commit
71ea00d59b
2
Makefile
2
Makefile
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user