diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-04-26 16:56:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-04-26 16:57:46 -0700 |
commit | 83d2170442144a1b2f623b32a1291befaf59c968 (patch) | |
tree | 49edd27d22e7a723d9b1f2110b33318f0aedb801 | |
parent | 4bef5b2d0bf9cdad88a47a32b751f834877e4802 (diff) | |
download | unicorn-83d2170442144a1b2f623b32a1291befaf59c968.tar.gz |
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 67d9fb7..2136adc 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -187,10 +187,11 @@ doc: .document $(ext)/unicorn_http.c NEWS ChangeLog $(MAKE) -C Documentation install-html install-man install -m644 $(man1_paths) doc/ cd doc && for i in $(base_bins); do \ - $(RM) $${i}.1.html; \ - ln $${i}_1.html $${i}.1.html; \ + $(RM) 1.html $${i}.1.html; \ sed -e '/"documentation">/r man1/'$$i'.1.html' \ - < $${i}.1.html > tmp && mv tmp $${i}_1.html; done + < $${i}_1.html > tmp && mv tmp $${i}_1.html; \ + ln $${i}_1.html $${i}.1.html; \ + done $(RUBY) -i -p -e \ '$$_.gsub!("</title>",%q{\&$(call atom,$(cgit_atom))})' \ doc/ChangeLog.html |