From 70e53f0e7bdbf7ea97ad1d94313b4e1afe15a850 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sun, 24 May 2009 10:38:43 +0000 Subject: - prevent install sample over existing files. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/innd/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sample/innd') 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) -- cgit v1.2.3