From 3dad74f1a35dc7571427d902e23b5d654ce72d85 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 22 Apr 2007 17:06:45 +0200 Subject: [PATCH] docs/*/Makefile: create html subdir if needed --- docs/edit/Makefile | 1 + docs/exref/Makefile | 2 ++ docs/vi.man/Makefile | 1 + docs/vi.ref/Makefile | 1 + docs/vitut/Makefile | 1 + 5 files changed, 6 insertions(+) diff --git a/docs/edit/Makefile b/docs/edit/Makefile index 502fd750..c93918cd 100644 --- a/docs/edit/Makefile +++ b/docs/edit/Makefile @@ -6,6 +6,7 @@ TBL= tbl all: edittut.ps ../html/edittut.html ../html/%.html: %.ms + test -d ../html || mkdir ../html ${TBL} $< | ${ROFF} -ms -Thtml | \ sed 's///' > $@ rm -f "$<"*png diff --git a/docs/exref/Makefile b/docs/exref/Makefile index 22b83d91..97737480 100644 --- a/docs/exref/Makefile +++ b/docs/exref/Makefile @@ -8,12 +8,14 @@ ALL= exref.ps summary.ps ../html/exref.html ../html/ex-summary.html all: $(ALL) ../html/exref.html: ex.rm + test -d ../html || mkdir ../html ${TBL} $< | ${ROFF} -ms -Thtml | \ sed 's///' > $@ rm -f "$<"*png chmod 444 $@ ../html/ex-summary.html: ex.summary + test -d ../html || mkdir ../html ${TBL} $< | ${ROFF} -ms -Thtml | \ sed 's///' > $@ rm -f "$<"*png diff --git a/docs/vi.man/Makefile b/docs/vi.man/Makefile index bb2a438e..5fec3104 100644 --- a/docs/vi.man/Makefile +++ b/docs/vi.man/Makefile @@ -13,6 +13,7 @@ vi.0.ps: vi.1 chmod 444 $@ ../html/vi.0.html: vi.1 + test -d ../html || mkdir ../html ${ROFF} -man -Thtml < vi.1 | \ sed 's///' > $@ rm -f "$<"*png diff --git a/docs/vi.ref/Makefile b/docs/vi.ref/Makefile index 2c483707..765fe144 100644 --- a/docs/vi.ref/Makefile +++ b/docs/vi.ref/Makefile @@ -17,6 +17,7 @@ vi.ref.ps: vi.texi chmod 444 $@ ../html/vi.ref.html: vi.texi + test -d ../html || mkdir ../html -makeinfo --html vi.texi --output=$@ 2>/dev/null chmod 444 $@ diff --git a/docs/vitut/Makefile b/docs/vitut/Makefile index e84a3609..aa6ae221 100644 --- a/docs/vitut/Makefile +++ b/docs/vitut/Makefile @@ -20,6 +20,7 @@ viapwh.ps: vi.apwh.ms chmod 444 $@ ../html/vitut.html: vi.in vi.chars + test -d ../html || mkdir ../html ${TBL} $+ | ${ROFF} -ms -Thtml | \ sed 's///' > $@ rm -f *png -- 2.11.4.GIT