-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 690 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 690 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
USER_INSTALL_PREFIX=$(HOME)/.local
USER_COMPLETION_INSTALL_PATH=$(HOME)/.config/bash_completion.d/
SYSTEM_INSTALL_PREFIX=/usr/local
SYSTEM_COMPLETION_INSTALL_PATH=/etc/bash_completion.d/
COMPLETION=git-fpaste-completion.bash
user-install: /usr/bin/curl /usr/bin/fpaste
install -D git-fpaste $(USER_INSTALL_PREFIX)/bin/
install -m 644 -D \
$(COMPLETION) \
$(USER_COMPLETION_INSTALL_PATH)/$(COMPLETION)
install: /usr/bin/curl /usr/bin/fpaste
install -D git-fpaste $(SYSTEM_INSTALL_PREFIX)/bin/
install -m 644 -D \
$(COMPLETION) \
$(SYSTEM_COMPLETION_INSTALL_PATH)/$(COMPLETION)
/usr/bin/curl:
pkcon install curl
/usr/bin/fpaste:
pkcon install fpaste