summaryrefslogtreecommitdiffstats
path: root/sample/etc/chess
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-05-24 18:38:43 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-05-24 18:38:43 +0800
commit70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850 (patch)
tree49a88487844d1926016691497268a1aa4192e37d /sample/etc/chess
parent63a1c2eb76e6b8be02cc239c58d1cbe7adbbb9d4 (diff)
downloadpttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar.gz
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar.bz2
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar.lz
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar.xz
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.tar.zst
pttbbs-70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850.zip
- prevent install sample over existing files.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample/etc/chess')
-rw-r--r--sample/etc/chess/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/etc/chess/Makefile b/sample/etc/chess/Makefile
index a01e3cf1..611bbe4a 100644
--- a/sample/etc/chess/Makefile
+++ b/sample/etc/chess/Makefile
@@ -1,5 +1,6 @@
BBSHOME?=$(HOME)
TARGET=$(BBSHOME)/etc/chess/
+INSTALLTAG=$(TARGET).installed
FILES= 1.poem 2.poem 3.poem 4.poem 5.poem 6.poem 7.poem 8.poem 9.poem \
10.poem 11.poem 12.poem 13.poem 14.poem 15.poem 16.poem
@@ -7,5 +8,6 @@ all:
install:
install -d $(TARGET)
+ test ! -e $(INSTALLTAG) && touch $(INSTALLTAG)
install -c -m 644 $(FILES) $(TARGET)