[Tomoyo-dev 1228] ccs-pathmatch とその関連で Makefile の修正

Back to archive index

Hideki Yamane henri****@debia*****
2010年 4月 4日 (日) 01:06:10 JST


 やまねです。
 ccs-pathmatch とその関連で Makefile の修正を下記のようにしてみました。


--- ccstools-1.7.2-20100401.orig/man/ccs-pathmatch      2010-04-04 00:44:03.000000000 +0900
+++ ccstools-1.7.2-20100401/man/ccs-pathmatch   2010-04-04 00:44:22.000000000 +0900
@@ -33,7 +33,7 @@
 
 [NOTES]
 
- You unlikely need this program because TOMOYO 1.7.1 introduced recursive directory matching. For example, you can specify /var/www/
html/\{\*\}/\*.html for matching /var/www/html/\*/\*.html /var/www/html/\*/\*/\*.html /var/www/html/\*/\*/\*/\*.html etc.
+ You unlikely need this program because TOMOYO 1.7.1 introduced recursive directory matching. For example, you can specify /var/www/
html/\e{\e*\e}/\e*.html for matching /var/www/html/\e*/\e*.html /var/www/html/\e*/\e*/\e*.html /var/www/html/\e*/\e*/\e*/\e*.html etc
.
 
 [AUTHORS]
 

-----------------------------------
Add man8 for install and clean target
Index: ccstools-1.7.2-20100401/Makefile
===================================================================
--- ccstools-1.7.2-20100401.orig/Makefile       2010-04-04 00:44:03.000000000 +0900
+++ ccstools-1.7.2-20100401/Makefile    2010-04-04 00:44:11.000000000 +0900
@@ -6,12 +6,15 @@
 
 ALIAS_LIST = ccs-auditd ccs-queryd ccs-pstree ccs-checkpolicy ccs-editpolicy ccs-findtemp ccs-ld-watch ccs-loadpolicy ccs-pathmatch 
ccs-patternize ccs-savepolicy ccs-setlevel ccs-setprofile ccs-sortpolicy ccs-diffpolicy ccs-selectpolicy
 
-all: main misc
+all: main misc man8
 
 main: $(MAIN_FILES)
 
 misc: $(MISC_FILES)
 
+man8: 
+       (cd $(CURDIR)/man; $(MAKE))
+
 install: all
        mkdir -p $(INSTALLDIR)/usr/lib/ccs $(INSTALLDIR)/sbin $(INSTALLDIR)/usr/sbin
        chmod 755 $(INSTALLDIR)/usr/lib/ccs




tomoyo-dev メーリングリストの案内
Back to archive index