Browse Source

Update tfkit.mk

Alois Mahdal 9 years ago
parent
commit
3e6f602a14
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      tfkit.mk

+ 5
- 1
tfkit.mk View File

@@ -5,6 +5,9 @@
5 5
 #
6 6
 # Adds targets: test to run tfkit tests, tfkit to deploy tfkit, tfkit_update to
7 7
 # pull tfkit updates, and tfkit_delete to remove the tfkit code.
8
+#
9
+# NOTE: Do not edit this file in your project directory as it will overwrite
10
+#       itself when you call tfkit_update!!!
8 11
 
9 12
 
10 13
 test: tfkit
@@ -48,6 +51,7 @@ bin/tfkit_init:
48 51
 
49 52
 tfkit_update: tfkit
50 53
 	@cd tfkit
51
-	@git --git-dir tfkit/.git pull
54
+	@git -C tfkit pull
55
+	@cp tfkit/tfkit.mk .
52 56
 
53 57
 .PHONY: test