Skip to content

Commit 0122358

Browse files
committed
Reorganized into stock dir
1 parent adc8f4e commit 0122358

14 files changed

+287
-272
lines changed

.bashrc

-18
This file was deleted.

.environment.anywhere.sh

-106
This file was deleted.

Makefile

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Makefile for bash environment dotfiles
2+
#
3+
# Alan K. Stebbens <[email protected]>
4+
5+
shfiles = environment.MiniMeow.sh environment.aks.sh \
6+
environment.anywhere.sh environment.envars.sh environment.sh \
7+
environment.x11.sh
8+
9+
HOST = $(shell uname -n | cut -d. -f1)
10+
11+
# Define DOMAIN if you wish to include DOMAIN-based definitions
12+
DOMAIN =
13+
14+
files = bashrc environment.sh environment.$(USER).sh
15+
16+
ifdef HOST
17+
files += environment.$(HOST).sh
18+
endif
19+
20+
ifdef WORKGROUP
21+
files += environment.$(WORKGROUP).sh
22+
endif
23+
24+
ifdef DOMAIN
25+
files += environment.$(DOMAIN).sh
26+
endif
27+
28+
$(HOME)/.bashrc: bashrc
29+
install_script $< $@
30+
31+
$(HOME)/.environment.sh: environment.sh
32+
install_script $< $@
33+
34+
$(HOME)/.environment.$(USER).sh: environment.USER.sh
35+
install_script $< $@
36+
37+
$(HOME)/.environment.envars.sh: environment.envars.sh
38+
install_script $< $@
39+
40+
$(HOME)/.environment.x11.sh: environment.x11.sh
41+
install_script $< $@
42+
43+
ifdef HOST
44+
$(HOME)/.environment.$(HOST).sh: environment.HOST.sh
45+
install_script $< $@
46+
endif
47+
48+
ifdef WORKGROUP
49+
$(HOME)/.environment.$(WORKGROUP).sh: environment.WORKGROUP.sh
50+
install_script $< $@
51+
endif
52+
53+
ifdef DOMAIN
54+
$(HOME)/.environment.$(DOMAIN).sh: environment.DOMAIN.sh
55+
install_script $< $@
56+
endif
57+
58+
# vim: sw=2 ai

0 commit comments

Comments
 (0)