blob: d4538beb20e7dc3002ad8e30b9c08e7466111b9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-aa,v 1.6 2006/08/01 14:33:59 jmmv Exp $
--- docs/users_guide/Makefile.in.orig 2006-04-28 14:24:16.000000000 +0200
+++ docs/users_guide/Makefile.in
@@ -78,12 +78,13 @@ pdf: $(ROOT).pdf
htmlhelp: $(ROOT).chm
$(HTML): $(SGML_FILES) $(DSL_FILE) $(CSS_FILE)
- $(RM) -r $(ROOT)
- mkdir $(ROOT)
- $(CP) $(CSS_FILE) $(ROOT)
- $(CP) $(IMAGE) $(ROOT)
- test -z '$(DOCBOOK2HTML)' || \
- $(DOCBOOK2HTML) --dsl $(DSL_FILE) $(ROOT).sgml
+ if test -n '$(DOCBOOK2HTML)'; then \
+ $(RM) -r $(ROOT); \
+ mkdir $(ROOT); \
+ $(CP) $(CSS_FILE) $(ROOT); \
+ $(CP) $(IMAGE) $(ROOT); \
+ $(DOCBOOK2HTML) --dsl $(DSL_FILE) $(ROOT).sgml; \
+ fi
$(ROOT).dvi: $(SGML_FILES)
test -z '$(DOCBOOK2DVI)' || $(DOCBOOK2DVI) $(ROOT).sgml
|