blob: 6b550c67fa36e66181596ddc9d2486a5a846b677 (
plain) (
blame)
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
|
SUBDIR= chess chickens
BBSHOME?=$(HOME)
TARGET=$(BBSHOME)/etc/
INSTALLTAG=$(TARGET).installed
FILES= @five Welcome Welcome_birth Welcome_login \
Logout goodbye bad_host today_boring \
register registered registermail registeredmail \
feast sysop \
ve.hlp board.help boardlist.help \
editable expire.conf domain_name_query.cidr \
banemail whitemail whitemail.notice
all:
install_sub:
@for i in $(SUBDIR); do\
cd $$i;\
$(MAKE) BBSHOME=$(BBSHOME) install;\
cd ..;\
done
install: install_sub
install -d $(TARGET)
test ! -e $(INSTALLTAG) && touch $(INSTALLTAG)
install -c -m 644 $(FILES) $(TARGET)
|