-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRootMakeppfile
More file actions
38 lines (27 loc) · 947 Bytes
/
RootMakeppfile
File metadata and controls
38 lines (27 loc) · 947 Bytes
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
#
PREFIX := /usr
SRC := templates
DEST := templates-bin
EXT := initt.txz
ZIP := tar cJf
TEMPLATES := empty go python
$(phony all): $(DEST)/$(TEMPLATES).$(EXT)
$(DEST)/$(foreach).$(EXT): $(SRC)/$(foreach) : foreach $(TEMPLATES)
scripts/zipper.sh
$(phony test): all
scripts/test.sh
$(phony uinstall): all
&install -d $(HOME)/.local/share/initt
&install -c templates-bin/$(TEMPLATES).$(EXT) $(HOME)/.local/share/initt/
&install -d $(HOME)/.local/bin
&install -c initt.py $(HOME)/.local/bin/initt
&install -c scripts/initt-zip.sh $(HOME)/.local/bin/initt-zip
@&echo "Please make sure that $(HOME)/.local/bin is on your $$PATH"
$(phony install): all
&install -d $(PREFIX)/share/initt/templates
&install -c templates-bin/$(TEMPLATES).$(EXT) $(PREFIX)/share/initt/templates
&install -d $(PREFIX)/bin
&install -c initt.py $(PREFIX)/bin/initt
&install -c scripts/initt-zip.sh $(PREFIX)/bin/initt-zip
$(phony uninstall):
&uninstall