diff options
author | isaacs <i@izs.me> | 2011-09-17 02:29:57 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-17 02:29:57 +0400 |
commit | 23b36f187969ba59c6002bf4baeabe06dd75d464 (patch) | |
tree | fa7194e785963d15e848449ba76ba9e1a070bee2 /Makefile | |
parent | 2978027a26e6df9e1d3b6f4132fc9a07f18a1ce9 (diff) |
Don't try to double-build/clean index
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -3,20 +3,21 @@ SHELL = bash markdowns = $(shell find doc -name '*.md' | grep -v 'index') README.md docs = $(shell find doc -name '*.md' \ - |grep -v 'index' \ - |sed 's|.md|.1|g' \ - |sed 's|doc/|man1/|g' ) \ - man1/README.1 \ - man1/index.1 + |grep -v 'index.md' \ + |sed 's|.md|.1|g' \ + |sed 's|doc/|man1/|g' ) \ + man1/README.1 \ + man1/index.1 htmldocs = $(shell find doc -name '*.md' \ - |sed 's|.md|.html|g' \ - |sed 's|doc/|html/doc/|g' ) \ - html/doc/README.html \ - html/doc/index.html + |grep -v 'index.md' \ + |sed 's|.md|.html|g' \ + |sed 's|doc/|html/doc/|g' ) \ + html/doc/README.html \ + html/doc/index.html doc_subfolders = $(shell find doc -type d \ - |sed 's|doc/|man1/|g' ) + |sed 's|doc/|man1/|g' ) # This is the default make target. # Since 'make' typically does non-installation build stuff, |