Browse Source

Fix typo in Makefile

Simon Vieille 3 months ago
parent
commit
426cf0e1f1
No known key found for this signature in database
1 changed files with 8 additions and 7 deletions
  1. 8
    7
      Makefile

+ 8
- 7
Makefile View File

@@ -3,6 +3,7 @@ NPM ?= npm
3 3
 GIT ?= git
4 4
 MKDIR ?= mkdir
5 5
 PHP ?= php
6
+RM ?= rm
6 7
 
7 8
 all: update clean-cache
8 9
 
@@ -11,39 +12,39 @@ composer:
11 12
 	@echo "---------------------------"
12 13
 	@echo
13 14
 
14
-	$(COMPOSER) install
15
+	${COMPOSER} install
15 16
 
16 17
 npm:
17 18
 	@echo "Installing CSS/JS dependencies"
18 19
 	@echo "------------------------------"
19 20
 	@echo
20 21
 
21
-	$(NPM) install
22
+	${NPM} install
22 23
 
23 24
 update:
24 25
 	@echo "Updating application's dependencies"
25 26
 	@echo "-----------------------------------"
26 27
 	@echo
27 28
 
28
-	$(GIT) pull origin master
29
+	${GIT} pull origin master
29 30
 	${MKDIR} -p data/git
30 31
 	${MKDIR} -p data/cache
31
-	$(COMPOSER) update
32
-	$(NPM) install
32
+	${COMPOSER} update
33
+	${NPM} install
33 34
 
34 35
 clean-cache:
35 36
 	@echo "Removing cache"
36 37
 	@echo "--------------"
37 38
 	@echo
38 39
 
39
-	rm -fr cache/*
40
+	${RM} -fr cache/*
40 41
 
41 42
 run:
42 43
 	@echo "Run development server"
43 44
 	@echo "----------------------"
44 45
 	@echo
45 46
 
46
-	$(PHP) -S 127.0.0.1:8080 -t web
47
+	${PHP} -S 127.0.0.1:8080 -t web
47 48
 
48 49
 propel:
49 50
 	@echo "Propel migration"