summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRyo ONODERA <ryo_on@yk.rim.or.jp>2016-03-24 22:34:35 +0900
committerRyo ONODERA <ryo_on@yk.rim.or.jp>2016-03-25 13:44:58 +0900
commit23d2d08229d3a2e11ae1222a29ff491068645078 (patch)
treee24b027d2a600495d7a2706ea966b2a10a4ef679 /Makefile
parent8f5b90fe7858de03ac055b38ab7aaec5f54fa107 (diff)
downloadchat-23d2d08229d3a2e11ae1222a29ff491068645078.tar.gz
chat-23d2d08229d3a2e11ae1222a29ff491068645078.tar.bz2
chat-23d2d08229d3a2e11ae1222a29ff491068645078.zip
Replace 'make' with '$(MAKE)'
Fix the build under the platform that GNU make is installed as gmake.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 492275eca..af5214388 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ build: .prebuild prepare-enterprise
build-client:
@echo Building mattermost web app
- cd $(BUILD_WEBAPP_DIR) && make build
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) build
package: build build-client
@@ -183,7 +183,7 @@ run-server: prepare-enterprise start-docker
run-client:
@echo Running mattermost client for development
- cd $(BUILD_WEBAPP_DIR) && make run
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) run
run: run-server run-client
@@ -203,7 +203,7 @@ stop-server:
stop-client:
@echo Stopping mattermost client
- cd $(BUILD_WEBAPP_DIR) && make stop
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) stop
stop: stop-server stop-client
@@ -218,7 +218,7 @@ clean: stop-docker
rm -Rf $(DIST_ROOT)
go clean $(GOFLAGS) -i ./...
- cd $(BUILD_WEBAPP_DIR) && make clean
+ cd $(BUILD_WEBAPP_DIR) && $(MAKE) clean
rm -rf api/data
rm -rf logs