diff options
author | isaacs <i@izs.me> | 2011-09-25 08:10:20 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-25 08:10:20 +0400 |
commit | 88c9df2aaf99f0c8b868e2151eaa48018649820d (patch) | |
tree | c53cf024e65d483ae47f78ab5f7f6c51c4b11b66 /Makefile | |
parent | 1f678362d5dd1278a0759e7af7c187be8aec1c57 (diff) |
Depending on a folder is dumb
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -75,9 +75,11 @@ man/man1/README.1: README.md scripts/doc-build.sh package.json scripts/doc-build.sh $< $@ man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json + @[ -d man/man1 ] || mkdir -p man/man1 scripts/doc-build.sh $< $@ -man/man3/%.3: doc/api/%.md man/man3 node_modules/ronn +man/man3/%.3: doc/api/%.md scripts/doc-build.sh package.json + @[ -d man/man3 ] || mkdir -p man/man3 scripts/doc-build.sh $< $@ html/doc/README.html: README.md html/dochead.html html/docfoot.html scripts/doc-build.sh package.json @@ -96,12 +98,6 @@ doc: man man: $(cli_docs) $(api_docs) -man/man1: - [ -d man/man1 ] || mkdir -p man/man1 - -man/man3: - [ -d man/man3 ] || mkdir -p man/man3 - test: submodules node cli.js test |