diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-24 18:38:43 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-24 18:38:43 +0800 |
commit | 70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850 (patch) | |
tree | 49a88487844d1926016691497268a1aa4192e37d /sample/innd | |
parent | 63a1c2eb76e6b8be02cc239c58d1cbe7adbbb9d4 (diff) | |
download | pttbbs-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/innd')
-rw-r--r-- | sample/innd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/innd/Makefile b/sample/innd/Makefile index 28f297c2..ae2d8fe8 100644 --- a/sample/innd/Makefile +++ b/sample/innd/Makefile @@ -1,9 +1,11 @@ BBSHOME?=$(HOME) TARGET=$(BBSHOME)/innd/ +INSTALLTAG=$(TARGET).installed FILES=bbsname.bbs newsfeeds.bbs nodelist.bbs ntu.active ncmperm.bbs all: install: install -d $(TARGET) + test ! -e $(INSTALLTAG) && touch $(INSTALLTAG) install -c -m 644 $(FILES) $(TARGET) |