Commit graph

10 commits

Author SHA1 Message Date
Avery Pennarun
a2bce72255 Simplify autodependency examples.
Turns out we don't need sed to process the output of gcc -MD.  We can just
do this:

	read DEPS <filename.deps

The 'read' command in sh actually handles backslashes correctly, so we don't
have to sed them out after all.  And then a simple ${DEPS#*:} removes the
"target:" prefix from the dependency line, and we're done!
2011-02-21 04:00:53 -08:00
Avery Pennarun
b43317bb83 md-to-man.do: remove leftover pandoc cruft.
Reported by Jimmy Tang on the mailing list.
2011-01-31 04:12:31 -08:00
Avery Pennarun
e174b09d5f Replace pandoc-based md-to-man conversion with a custom python script.
Hopefully this will appease the people who can't install pandoc on MacOS.
2011-01-29 23:27:23 -08:00
Avery Pennarun
5ea0cb01f5 version/gitvars: use redo-always if using git commands.
Otherwise we won't rebuild files when the commit id changes.
2011-01-18 00:55:25 -08:00
Avery Pennarun
94b34ea031 Generate redo version codes in Documentation/*.1 automatically.
We have to go through some pretty scary gyrations to extract this
information from git, but it can be done.  This works with both tarballs
generated by 'git archive', or with your local git repo.

(Requested by 'David' on the mailing list.)
2011-01-17 23:01:40 -08:00
Avery Pennarun
897c218f85 redo.md: explain .do file search-parent-dirs feature. 2011-01-16 16:33:22 -08:00
Michael Stone
62fe9a0df5 md-to-man.do: redo-ifcreate on possible paths to pandoc
This way, if you run

  ./redo
  $PKGMGR install pandoc
  ./redo

you'll still wind up with man pages.
2011-01-16 16:21:48 -08:00
Avery Pennarun
2618ebfafb Man pages for redo-targets, redo-sources, redo-ood. 2010-12-19 04:11:05 -08:00
Avery Pennarun
ca7a1de4e3 Add Documentation/git-{import,export}.do scripts.
These export and import, respectively, the generated man pages to/from the
git branch called 'man'.  You can use it to retrieve the .1 files if you
don't have a working pandoc.
2010-12-19 01:05:52 -08:00
Avery Pennarun
4b48448233 Add a bunch of manpages. 2010-12-12 02:12:21 -08:00