diff options
author | Eric Wong <e@yhbt.net> | 2011-01-27 21:45:06 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2011-01-27 21:45:06 +0000 |
commit | fecdb9a57523cd2d38fc76fa8609388712aa075e (patch) | |
tree | 53547b590c0f3686e694b6461760a8ee0a51b7a1 | |
parent | 01e7012f27109295f7cc158f561091b07b831762 (diff) | |
download | sleepy_penguin-fecdb9a57523cd2d38fc76fa8609388712aa075e.tar.gz |
This makes life easier for the wrongdoc package itself
-rw-r--r-- | pkg.mk | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,7 @@ RUBY = ruby RAKE = rake RSYNC = rsync +WRONGDOC = wrongdoc GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE @./GIT-VERSION-GEN @@ -47,7 +48,7 @@ endif pkg_extra := GIT-VERSION-FILE NEWS ChangeLog LATEST ChangeLog: GIT-VERSION-FILE .wrongdoc.yml - wrongdoc prepare + $(WRONGDOC) prepare manifest: $(RM) .manifest @@ -63,7 +64,7 @@ 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 + $(WRONGDOC) all install -m644 COPYING doc/COPYING install -m644 $(shell grep '^[A-Z]' .document) doc/ @@ -76,10 +77,10 @@ release_changes := release_changes-$(VERSION) release-notes: $(release_notes) release-changes: $(release_changes) $(release_changes): - wrongdoc release_changes > $@+ + $(WRONGDOC) release_changes > $@+ $(VISUAL) $@+ && test -s $@+ && mv $@+ $@ $(release_notes): - wrongdoc release_notes > $@+ + $(WRONGDOC) release_notes > $@+ $(VISUAL) $@+ && test -s $@+ && mv $@+ $@ # ensures we're actually on the tagged $(VERSION), only used for release |