diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 38 |
1 files changed, 28 insertions, 10 deletions
| @@ -1,25 +1,43 @@ | |||
| 1 | WM-THEME-DIR = .local/share/themes/numix-no-title | 1 | NUMIX-NO-TITLE = .local/share/themes/numix-no-title |
| 2 | BASHRC = .bashrc | 2 | BASHRC = .bashrc |
| 3 | VIMRC = .vimrc | ||
| 4 | HERBSTLUFT = .config/herbstluftwm | ||
| 3 | 5 | ||
| 4 | install: all | 6 | install: all |
| 5 | 7 | ||
| 6 | all: wm-theme bash | 8 | all: bash vim numix-no-title herbstluft |
| 7 | 9 | ||
| 8 | wm-theme: | 10 | numix-no-title: |
| 9 | #create wm theme dir if not exist | 11 | #create wm theme dir if not exist |
| 10 | mkdir -p ~/$(WM-THEME-DIR) | 12 | mkdir -p ~/$(NUMIX-NO-TILE) |
| 11 | 13 | ||
| 12 | #remove content if existing | 14 | #remove content if existing |
| 13 | -rm -rf ~/$(WM-THEME-DIR)/* | 15 | -rm -rf ~/$(NUMIX-NO-TILE)/* |
| 14 | 16 | ||
| 15 | #copy contents in | 17 | #copy new contents in |
| 16 | cp -rf $(WM-THEME-DIR)/* ~/$(WM-THEME-DIR)/ | 18 | cp -rf $(NUMIX-NO-TILE)/* ~/$(NUMIX-NO-TITLE)/ |
| 19 | |||
| 20 | herbstluftwm: | ||
| 21 | #create herbstluftwm if not exist | ||
| 22 | mkdir -p ~/$(HERBSTLUFT) | ||
| 23 | |||
| 24 | #remove content if existing | ||
| 25 | -rm -rf ~/$(HERBSTLUFT)/* | ||
| 26 | |||
| 27 | #copy new contents in | ||
| 28 | cp -rf $(HERBSTLUFT)/* ~/$(HERBSTLUFT)/ | ||
| 17 | 29 | ||
| 18 | bash: | 30 | bash: |
| 19 | #copy to home | 31 | #copy bashrc to home |
| 20 | cp -f $(BASHRC) ~/$(BASHRC) | 32 | cp -f $(BASHRC) ~ |
| 33 | |||
| 34 | vim: | ||
| 35 | #copy vimrc to home | ||
| 36 | cp -f $(VIMRC) ~ | ||
| 21 | 37 | ||
| 22 | uninstall: | 38 | uninstall: |
| 23 | #remove all | 39 | #remove all |
| 24 | -rm -rf ~/$(WM-THEME-DIR) | 40 | -rm -rf ~/$(WM-THEME-DIR) |
| 25 | -rm -f ~/$(BASHRC) \ No newline at end of file | 41 | -rm -rf ~/$(HERBSTLUFT) |
| 42 | -rm -f ~/$(BASHRC) | ||
| 43 | -rm -f ~/$(VIMRC) | ||
