-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (30 loc) · 978 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# # #
# # ‼️ STOP ‼️
# # ‼️ DO **NOT** EDIT THIS FILE ‼️
# #
# # Unless you KNOW what you're doing
# # #
# # See https://github.com/alecrabbit/dev-app-makefile
# Project: DAM tool
SHELL=/bin/bash
.DEFAULT_GOAL=help_dam_tool
# Root(Tools) directory
_DN_TOOLS=.tools
# DAM directory
_DN_DAM=.dam
__CORE_FILE=./${_DN_TOOLS}/${_DN_DAM}/core.Makefile
# Include core if present
ifneq ("$(wildcard $(__CORE_FILE))","")
include $(__CORE_FILE)
endif
__DAM_URL=https://github.com/alecrabbit/dev-app-makefile
__DAM_VERSION=0.0.38
install_dam_tool:
@echo -e "Installing DAM tool...\n";
@wget -qO- "${__DAM_URL}/archive/refs/tags/${__DAM_VERSION}.tar.gz" | tar -xz \
&& shopt -s dotglob && cp -r dev-app-makefile-${__DAM_VERSION}/* . && shopt -u dotglob \
&& rm -r dev-app-makefile-${__DAM_VERSION} && ./install && make upgrade
help_dam_tool:
@echo -e "DAM tool help:\n";
@echo " make install_dam_tool - install DAM tool";
@echo "";