-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 700 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Makefile for github-create-repo install
include Makefile.config
help:
@echo "[$(COMMAND_NAME) make]"
@echo "USAGE: make [ install uninstall ]"
@echo " install makes .github-create-repo.sh executable and globally"
@echo " accessible and makes .github-repo-defaults available"
@echo " uninstall undoes everything"
install:
cp github-create-repo.sh $(BIN_PATH)/$(COMMAND_NAME).sh
chmod 755 $(BIN_PATH)/$(COMMAND_NAME).sh
ln -s $(BIN_PATH)/$(COMMAND_NAME).sh $(BIN_PATH)/$(COMMAND_NAME)
cp -a .github-repo-defaults $(HOME_PATH)/.github-repo-defaults
uninstall:
rm -rf $(BIN_PATH)/$(COMMAND_NAME).sh $(BIN_PATH)/$(COMMAND_NAME)
rm -rf $(HOME_PATH)/.github-repo-defaults