Actually disable livesync if not explicitly enabled

parent c1478fbb
......@@ -225,7 +225,7 @@ sync_post: | $(require_pubdir) $(require_outputdir)
define addtopub ?=
$(DRAFT) && rm -f $(PUBDIR)/$@ || ln -f $@ $(PUBDIR)/$@
$(and $(LIVESYNC),$(OUTPUTDIR),$(foreach TARGET,$(call parse_bookid,$@),$(DRAFT) || install -Dt $(OUTPUTDIR)/$(or $(strip $(filter-out $(PROJECT),$(TARGET))),$(OUTPATH)) $@))
$(and $(filter true,$(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