summaryrefslogblamecommitdiffstats
path: root/sample/etc/Makefile
blob: 8881af2af5944f071bb1bc4db3f5d5d3cce0ca42 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                        
SUBDIR=chickens
BBSHOME?=$(HOME)
TARGET=$(BBSHOME)/etc/
FILES=  Welcome Welcome_login goodbye register registered ve.hlp Logout\
    Welcome_birth domain_name_query feast today_boring

all:

install_sub:
    @for i in $(SUBDIR); do\
        cd $$i;\
        make BBSHOME=$(BBSHOME) OSTYPE=$(OSTYPE) install;\
        cd ..;\
    done

install: install_sub
    install -d $(TARGET)
    install -c -m 644 $(FILES) $(TARGET)