Skip to content
Browse files

Don't try to double-build/clean index

  • Loading branch information...
1 parent 2978027 commit 23b36f187969ba59c6002bf4baeabe06dd75d464 @isaacs isaacs committed
Showing with 11 additions and 10 deletions.
  1. +11 −10 Makefile
View
21 Makefile
@@ -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,

0 comments on commit 23b36f1

Please sign in to comment.
Something went wrong with that request. Please try again.