about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-04-28 12:42:48 -0700
committerEric Wong <normalperson@yhbt.net>2010-04-28 12:42:48 -0700
commitdd84d98bce03e3da529c4b51d2eba761dda749e8 (patch)
treec0e5b7d11443573957d0b7f15d47affdbccd7dcb /GNUmakefile
parente32c35bac78a7e7d8d711d360c143c9ebc64eed2 (diff)
downloadkcar-dd84d98bce03e3da529c4b51d2eba761dda749e8.tar.gz
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 982c577..59b3a73 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -35,7 +35,7 @@ clean:
         -$(MAKE) -C ext/kcar clean
         $(RM) $(setup_rb_files) ext/kcar/Makefile
 
-pkg_extra := GIT-VERSION-FILE NEWS ChangeLog
+pkg_extra := GIT-VERSION-FILE NEWS ChangeLog ext/kcar/kcar.c
 manifest: $(pkg_extra)
         $(RM) .manifest
         $(MAKE) .manifest
@@ -71,14 +71,9 @@ atom = <link rel="alternate" title="Atom feed" href="$(1)" \
 
 # using rdoc 2.4.1+
 doc: .document NEWS ChangeLog
-        for i in $(man1_bins); do > $$i; done
         rdoc -Na -t "$(shell sed -ne '1s/^= //p' README)"
         install -m644 COPYING doc/COPYING
         install -m644 $(shell grep '^[A-Z]' .document) doc/
-        cd doc && for i in $(base_bins); do \
-          html=$$(echo $$i | sed 's/\.rb/_rb/')_1.html; \
-          sed -e '/"documentation">/r man1/'$$i'.1.html' \
-                < $$html > tmp && mv tmp $$html; done
         $(RUBY) -i -p -e \
           '$$_.gsub!("</title>",%q{\&$(call atom,$(cgit_atom))})' \
           doc/ChangeLog.html
@@ -87,7 +82,6 @@ doc: .document NEWS ChangeLog
           doc/NEWS.html doc/README.html
         $(RAKE) -s news_atom > doc/NEWS.atom.xml
         cd doc && ln README.html tmp && mv tmp index.html
-        $(RM) $(man1_bins)
 
 ifneq ($(VERSION),)
 rfproject := rainbows
@@ -169,7 +163,6 @@ $(ext): ext/kcar/kcar.c $(hdr) ext/kcar/Makefile
 
 all:: test
 
-export STRESS BENCHMARK
 build: $(ext)
 test_units := $(wildcard test/test_*.rb)
 test: test-unit