Lines 113-123
always := $(hostprogs-y)
Link Here
|
113 |
|
113 |
|
114 |
notfoundtemplate = echo "*** You have to install docbook-utils or xmlto ***"; \ |
114 |
notfoundtemplate = echo "*** You have to install docbook-utils or xmlto ***"; \ |
115 |
exit 1 |
115 |
exit 1 |
116 |
db2xtemplate = db2TYPE -o $(dir $@) $< |
116 |
db2xtemplate = docbook2TYPE -o $(dir $@) $< |
117 |
xmltotemplate = xmlto TYPE $(XMLTOFLAGS) -o $(dir $@) $< |
117 |
xmltotemplate = xmlto TYPE $(XMLTOFLAGS) -o $(dir $@) $< |
118 |
|
118 |
|
119 |
# determine which methods are available |
119 |
# determine which methods are available |
120 |
ifeq ($(shell which db2ps >/dev/null 2>&1 && echo found),found) |
120 |
ifeq ($(shell which docbook2ps >/dev/null 2>&1 && echo found),found) |
121 |
use-db2x = db2x |
121 |
use-db2x = db2x |
122 |
prefer-db2x = db2x |
122 |
prefer-db2x = db2x |
123 |
else |
123 |
else |