about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-06 10:54:09 +0000
committerEric Wong <normalperson@yhbt.net>2011-02-06 10:54:09 +0000
commitcc0d170971fb93c2c35e7b37e3bade8350e3423a (patch)
treebb6c1a679cf02886c16442c8873147e226660917
parentd0b41571897a809dafb8bc9b11248078ce458723 (diff)
downloadkcar-cc0d170971fb93c2c35e7b37e3bade8350e3423a.tar.gz
From mall.git
-rw-r--r--pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg.mk b/pkg.mk
index 03a4906..cf36084 100644
--- a/pkg.mk
+++ b/pkg.mk
@@ -46,7 +46,7 @@ lib := $(lib):$(ext_pfx)/$(ext)
 build: $(ext_dl)
 endif
 
-pkg_extra += GIT-VERSION-FILE NEWS ChangeLog LATEST
+pkg_extra := GIT-VERSION-FILE NEWS ChangeLog LATEST
 ChangeLog: GIT-VERSION-FILE .wrongdoc.yml
         $(WRONGDOC) prepare
 
@@ -60,8 +60,8 @@ manifest:
         cmp $@+ $@ || mv $@+ $@
         $(RM) $@+
 
-doc:: .document .wrongdoc.yml $(pkg_extra)
-        find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
+doc:: .document .wrongdoc.yml
+        -find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
         -find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
         $(RM) -r doc
         $(WRONGDOC) all