Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 868 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 868 Rev 871
Line 12... Line 12...
12
endif
12
endif
13
 
13
 
14
#設置為複製模式
14
#設置為複製模式
15
COPYMODE := --mode cp
15
COPYMODE := --mode cp
16
 
16
 
17
#make install, 
17
#make install
-
 
18
#": install"代表會檢查同目錄下有無要執行的install.php檔案.
18
#$(DESTDIR) 為要安裝到的路徑,亦即 "make install DESTDIRpn=--rootPath DESTDIR=" 後面的內容.
19
#$(DESTDIR) 為要安裝到的路徑,亦即 "make install DESTDIRpn=--rootPath DESTDIR=" 後面的內容.
19
#$(LIBONLYpv) 為是否只安裝函式庫,不需要設定檔跟執行檔案,亦即 "make install libonly=yes".
20
#$(LIBONLYpv) 為是否只安裝函式庫,不需要設定檔跟執行檔案,亦即 "make install libonly=yes".
20
#--mode cp 為強制用複製檔案的方式,不要透過軟連結.
21
#--mode cp 為強制用複製檔案的方式,不要透過軟連結.
21
install: install.php
22
install: install.php
22
	./install.php $(DESTDIRpn) $(DESTDIR) $(LIBONLYpn) $(LIBONLYpv) $(COPYMODE)
23
	./install.php $(DESTDIRpn) $(DESTDIR) $(LIBONLYpn) $(LIBONLYpv) $(COPYMODE)