Don't live-sync outputs in draft made

parent a7f95b06
......@@ -226,7 +226,7 @@ sync_post: | $(require_pubdir) $(require_outputdir)
define addtopub ?=
$(DRAFT) && rm -f $(PUBDIR)/$@ || ln -f $@ $(PUBDIR)/$@
$(and $(LIVESYNC),$(OUTPUTDIR),$(foreach TARGET,$(call parse_bookid,$@),install -Dt $(OUTPUTDIR)/$(or $(strip $(filter-out $(PROJECT),$(TARGET))),$(OUTPATH)) $@))
$(and $(LIVESYNC),$(OUTPUTDIR),$(foreach TARGET,$(call parse_bookid,$@),$(DRAFT) || install -Dt $(OUTPUTDIR)/$(or $(strip $(filter-out $(PROJECT),$(TARGET))),$(OUTPATH)) $@))
endef
.PHONY: yayinlar.viachristus.com
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment