cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Fixing snapshotting logic in Makefile.
Date Sat, 19 Mar 2016 09:38:59 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master e37518654 -> df71c33f6


Fixing snapshotting logic in Makefile.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/df71c33f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/df71c33f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/df71c33f

Branch: refs/heads/master
Commit: df71c33f6fc1f99644ce38a8d293a11e23deacd8
Parents: e375186
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Sat Mar 19 02:38:54 2016 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Sat Mar 19 02:38:54 2016 -0700

----------------------------------------------------------------------
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/df71c33f/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 0e28622..9808ced 100644
--- a/Makefile
+++ b/Makefile
@@ -228,11 +228,11 @@ ifndef WINDOWS
 	touch $(DOCS_DIR)
 endif
 
-$(TOC_DIR)/%-$(LATEST_DOCS_VERSION_SLUG)-manual.yml: $(TOC_DIR)/%-dev-manual.yml
-	$(CP) $^ $@
+$(TOC_DIR)/%-$(LATEST_DOCS_VERSION_SLUG)-manual.yml: $(TOC_DIR)/%-dev-manual.yml $(DOCS_DIR)
+	$(CP) $< $@
 
-$(TOC_DIR)/%-$(NEXT_DOCS_VERSION_SLUG)-manual.yml: $(TOC_DIR)/%-dev-manual.yml
-	$(CP) $^ $@
+$(TOC_DIR)/%-$(NEXT_DOCS_VERSION_SLUG)-manual.yml: $(TOC_DIR)/%-dev-manual.yml $(DOCS_DIR)
+	$(CP) $< $@
 
 # NODE:
 #      $(@D) means "directory part of target"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message