summaryrefslogtreecommitdiffstats
path: root/sample/etc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sample/etc/Makefile')
-rw-r--r--sample/etc/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sample/etc/Makefile b/sample/etc/Makefile
new file mode 100644
index 00000000..8881af2a
--- /dev/null
+++ b/sample/etc/Makefile
@@ -0,0 +1,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)