~iheino+ub/+junk/nut-upsconf-docfix

« back to all changes in this revision

Viewing changes to docs/man/Makefile.am

  • Committer: Tuomas Heino
  • Author(s): Laurent Bigonville
  • Date: 2014-04-22 20:46:12 UTC
  • Revision ID: iheino+ub@cc.hut.fi-20140422204612-1x2gh3nkezfsdao4
Tags: upstream-2.7.2
ImportĀ upstreamĀ versionĀ 2.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Network UPS Tools: man
 
2
#
 
3
 
 
4
# Notes:
 
5
# - sources (.txt) and groff formats are both distributed,
 
6
# - only sources are versioned ; groff files are generated at worst
 
7
#   during 'make dist'
 
8
# - HTML files are built upon request, if AsciiDoc is available,
 
9
# - groff update will only happen if AsciiDoc is available too,
 
10
# - all this can probably (and hopefully) be improved, but I've not
 
11
#   found a way to do pattern replacement on the fly for target deps!
 
12
#   FIXME: investigate an autogen.sh hook
 
13
# - Ref: http://www.gnu.org/software/hello/manual/automake/Man-pages.html
 
14
 
 
15
# Base configuration and client manpages, always installed
 
16
SRC_CONF_PAGES = \
 
17
        nut.conf.txt \
 
18
        ups.conf.txt \
 
19
        upsd.conf.txt \
 
20
        upsd.users.txt \
 
21
        upsmon.conf.txt \
 
22
        upssched.conf.txt
 
23
 
 
24
MAN_CONF_PAGES = \
 
25
        nut.conf.5 \
 
26
        ups.conf.5 \
 
27
        upsd.conf.5 \
 
28
        upsd.users.5 \
 
29
        upsmon.conf.5 \
 
30
        upssched.conf.5
 
31
 
 
32
man5_MANS = $(MAN_CONF_PAGES)
 
33
 
 
34
HTML_CONF_MANS = \
 
35
        nut.conf.html \
 
36
        ups.conf.html \
 
37
        upsd.conf.html \
 
38
        upsd.users.html \
 
39
        upsmon.conf.html \
 
40
        upssched.conf.html
 
41
 
 
42
SRC_CLIENT_PAGES = \
 
43
        nutupsdrv.txt \
 
44
        upsc.txt \
 
45
        upscmd.txt \
 
46
        upsd.txt \
 
47
        upsdrvctl.txt \
 
48
        upslog.txt \
 
49
        upsmon.txt \
 
50
        upsrw.txt \
 
51
        upssched.txt
 
52
 
 
53
MAN_CLIENT_PAGES = \
 
54
        nutupsdrv.8 \
 
55
        upsc.8 \
 
56
        upscmd.8 \
 
57
        upsd.8 \
 
58
        upsdrvctl.8 \
 
59
        upslog.8 \
 
60
        upsmon.8 \
 
61
        upsrw.8 \
 
62
        upssched.8
 
63
 
 
64
man8_MANS = $(MAN_CLIENT_PAGES)
 
65
 
 
66
HTML_CLIENT_MANS = \
 
67
        nutupsdrv.html \
 
68
        upsc.html \
 
69
        upscmd.html \
 
70
        upsd.html \
 
71
        upsdrvctl.html \
 
72
        upslog.html \
 
73
        upsmon.html \
 
74
        upsrw.html \
 
75
        upssched.html
 
76
 
 
77
SRC_TOOL_PAGES = nut-scanner.txt nut-recorder.txt
 
78
 
 
79
MAN_TOOL_PAGES = nut-scanner.8 nut-recorder.8
 
80
 
 
81
man8_MANS += $(MAN_TOOL_PAGES)
 
82
 
 
83
HTML_TOOL_MANS = nut-scanner.html nut-recorder.html
 
84
 
 
85
# CGI (--with-cgi) related manpages
 
86
SRC_CGI_PAGES = \
 
87
        hosts.conf.txt \
 
88
        upsset.conf.txt \
 
89
        upsstats.html.txt \
 
90
        upsset.cgi.txt \
 
91
        upsstats.cgi.txt \
 
92
        upsimage.cgi.txt
 
93
 
 
94
MAN5_CGI_PAGES = \
 
95
        hosts.conf.5 \
 
96
        upsset.conf.5 \
 
97
        upsstats.html.5
 
98
 
 
99
MAN8_CGI_PAGES = \
 
100
        upsset.cgi.8 \
 
101
        upsstats.cgi.8 \
 
102
        upsimage.cgi.8
 
103
 
 
104
if WITH_CGI
 
105
 man5_MANS += $(MAN5_CGI_PAGES)
 
106
 
 
107
 man8_MANS += $(MAN8_CGI_PAGES)
 
108
endif
 
109
 
 
110
HTML_CGI_MANS = \
 
111
        hosts.conf.html \
 
112
        upsset.conf.html \
 
113
        upsstats.html.html \
 
114
        upsset.cgi.html \
 
115
        upsstats.cgi.html \
 
116
        upsimage.cgi.html
 
117
 
 
118
 
 
119
# Development (--with-dev) related manpages
 
120
SRC_DEV_PAGES = \
 
121
        upsclient.txt \
 
122
        upscli_add_host_cert.txt \
 
123
        upscli_cleanup.txt \
 
124
        upscli_connect.txt \
 
125
        upscli_disconnect.txt \
 
126
        upscli_fd.txt \
 
127
        upscli_get.txt \
 
128
        upscli_init.txt \
 
129
        upscli_list_next.txt \
 
130
        upscli_list_start.txt \
 
131
        upscli_readline.txt \
 
132
        upscli_sendline.txt \
 
133
        upscli_splitaddr.txt \
 
134
        upscli_splitname.txt \
 
135
        upscli_ssl.txt \
 
136
        upscli_strerror.txt \
 
137
        upscli_upserror.txt \
 
138
        libnutclient.txt \
 
139
        libnutclient_commands.txt \
 
140
        libnutclient_devices.txt \
 
141
        libnutclient_general.txt \
 
142
        libnutclient_misc.txt \
 
143
        libnutclient_tcp.txt \
 
144
        libnutclient_variables.txt \
 
145
        nutscan.txt \
 
146
        nutscan_scan_snmp.txt \
 
147
        nutscan_scan_usb.txt \
 
148
        nutscan_scan_xml_http.txt \
 
149
        nutscan_scan_nut.txt \
 
150
        nutscan_scan_avahi.txt \
 
151
        nutscan_scan_ipmi.txt \
 
152
        nutscan_scan_eaton_serial.txt \
 
153
        nutscan_display_ups_conf.txt \
 
154
        nutscan_display_parsable.txt \
 
155
        nutscan_cidr_to_ip.txt \
 
156
        nutscan_new_device.txt \
 
157
        nutscan_free_device.txt \
 
158
        nutscan_add_option_to_device.txt \
 
159
        nutscan_add_device_to_device.txt \
 
160
        nutscan_init.txt \
 
161
        nutscan_get_serial_ports_list.txt \
 
162
        libupsclient-config.txt \
 
163
        skel.txt
 
164
 
 
165
# NOTE: nutclient_*.3 has no source counterpart (libnutclient_*.txt)
 
166
MAN3_DEV_PAGES = \
 
167
        upsclient.3 \
 
168
        upscli_add_host_cert.3 \
 
169
        upscli_cleanup.3 \
 
170
        upscli_connect.3 \
 
171
        upscli_disconnect.3 \
 
172
        upscli_fd.3 \
 
173
        upscli_get.3 \
 
174
        upscli_init.3 \
 
175
        upscli_list_next.3 \
 
176
        upscli_list_start.3 \
 
177
        upscli_readline.3 \
 
178
        upscli_sendline.3 \
 
179
        upscli_splitaddr.3 \
 
180
        upscli_splitname.3 \
 
181
        upscli_ssl.3 \
 
182
        upscli_strerror.3 \
 
183
        upscli_upserror.3 \
 
184
        libnutclient.3 \
 
185
        libnutclient_commands.3 \
 
186
        libnutclient_devices.3 \
 
187
        libnutclient_general.3 \
 
188
        libnutclient_misc.3 \
 
189
        libnutclient_tcp.3 \
 
190
        libnutclient_variables.3 \
 
191
        nutclient_authenticate.3 \
 
192
        nutclient_destroy.3 \
 
193
        nutclient_device_forced_shutdown.3 \
 
194
        nutclient_device_login.3 \
 
195
        nutclient_device_master.3 \
 
196
        nutclient_execute_device_command.3 \
 
197
        nutclient_get_device_command_description.3 \
 
198
        nutclient_get_device_commands.3 \
 
199
        nutclient_get_device_description.3 \
 
200
        nutclient_get_device_num_logins.3 \
 
201
        nutclient_get_device_rw_variables.3 \
 
202
        nutclient_get_devices.3 \
 
203
        nutclient_get_device_variable_description.3 \
 
204
        nutclient_get_device_variables.3 \
 
205
        nutclient_get_device_variable_values.3 \
 
206
        nutclient_has_device.3 \
 
207
        nutclient_has_device_command.3 \
 
208
        nutclient_has_device_variable.3 \
 
209
        nutclient_logout.3 \
 
210
        nutclient_set_device_variable_value.3 \
 
211
        nutclient_set_device_variable_values.3 \
 
212
        nutclient_tcp_create_client.3 \
 
213
        nutclient_tcp_disconnect.3 \
 
214
        nutclient_tcp_get_timeout.3 \
 
215
        nutclient_tcp_is_connected.3 \
 
216
        nutclient_tcp_reconnect.3 \
 
217
        nutclient_tcp_set_timeout.3 \
 
218
        nutscan.3 \
 
219
        nutscan_scan_snmp.3 \
 
220
        nutscan_scan_usb.3 \
 
221
        nutscan_scan_xml_http.3 \
 
222
        nutscan_scan_nut.3 \
 
223
        nutscan_scan_avahi.3 \
 
224
        nutscan_scan_ipmi.3 \
 
225
        nutscan_scan_eaton_serial.3 \
 
226
        nutscan_display_ups_conf.3 \
 
227
        nutscan_display_parsable.3 \
 
228
        nutscan_cidr_to_ip.3 \
 
229
        nutscan_new_device.3 \
 
230
        nutscan_free_device.3 \
 
231
        nutscan_add_option_to_device.3 \
 
232
        nutscan_add_device_to_device.3 \
 
233
        nutscan_get_serial_ports_list.3 \
 
234
        nutscan_init.3
 
235
 
 
236
MAN1_DEV_PAGES = \
 
237
        libupsclient-config.1
 
238
 
 
239
if WITH_DEV
 
240
 man3_MANS = $(MAN3_DEV_PAGES)
 
241
 
 
242
if !WITH_PKG_CONFIG
 
243
 man1_MANS = $(MAN1_DEV_PAGES)
 
244
endif
 
245
# WITH_DEV
 
246
endif
 
247
 
 
248
HTML_DEV_MANS = \
 
249
        upsclient.html \
 
250
        upscli_add_host_cert.html \
 
251
        upscli_cleanup.html \
 
252
        upscli_connect.html \
 
253
        upscli_disconnect.html \
 
254
        upscli_fd.html \
 
255
        upscli_get.html \
 
256
        upscli_init.html \
 
257
        upscli_list_next.html \
 
258
        upscli_list_start.html \
 
259
        upscli_readline.html \
 
260
        upscli_sendline.html \
 
261
        upscli_splitaddr.html \
 
262
        upscli_splitname.html \
 
263
        upscli_ssl.html \
 
264
        upscli_strerror.html \
 
265
        upscli_upserror.html \
 
266
        libnutclient.html \
 
267
        libnutclient_commands.html \
 
268
        libnutclient_devices.html \
 
269
        libnutclient_general.html \
 
270
        libnutclient_misc.html \
 
271
        libnutclient_tcp.html \
 
272
        libnutclient_variables.html \
 
273
        nutscan.html \
 
274
        nutscan_scan_snmp.html \
 
275
        nutscan_scan_usb.html \
 
276
        nutscan_scan_xml_http.html \
 
277
        nutscan_scan_nut.html \
 
278
        nutscan_scan_avahi.html \
 
279
        nutscan_scan_ipmi.html \
 
280
        nutscan_scan_eaton_serial.html \
 
281
        nutscan_display_ups_conf.html \
 
282
        nutscan_display_parsable.html \
 
283
        nutscan_cidr_to_ip.html \
 
284
        nutscan_new_device.html \
 
285
        nutscan_free_device.html \
 
286
        nutscan_add_option_to_device.html \
 
287
        nutscan_add_device_to_device.html \
 
288
        nutscan_get_serial_ports_list.html \
 
289
        nutscan_init.html \
 
290
        libupsclient-config.html \
 
291
        skel.html
 
292
 
 
293
 
 
294
# Drivers related manpages
 
295
 
 
296
# (--with-drivers=...)
 
297
if SOME_DRIVERS
 
298
 man8_MANS += $(DRIVER_MAN_LIST)
 
299
 
 
300
else
 
301
 
 
302
# (--with-serial)
 
303
SRC_SERIAL_PAGES = \
 
304
        al175.txt       \
 
305
        apcsmart.txt    \
 
306
        apcsmart-old.txt        \
 
307
        bcmxcp.txt      \
 
308
        belkin.txt      \
 
309
        belkinunv.txt   \
 
310
        bestfortress.txt        \
 
311
        bestuferrups.txt        \
 
312
        bestups.txt     \
 
313
        bestfcom.txt    \
 
314
        blazer-common.txt       \
 
315
        blazer_ser.txt  \
 
316
        clone.txt \
 
317
        dummy-ups.txt   \
 
318
        etapro.txt      \
 
319
        everups.txt     \
 
320
        gamatronic.txt  \
 
321
        genericups.txt  \
 
322
        isbmex.txt      \
 
323
        ivtscd.txt      \
 
324
        liebert.txt     \
 
325
        liebert-esp2.txt        \
 
326
        masterguard.txt \
 
327
        metasys.txt     \
 
328
        mge-shut.txt    \
 
329
        mge-utalk.txt   \
 
330
        oneac.txt               \
 
331
        microdowell.txt \
 
332
        nutdrv_qx.txt   \
 
333
        optiups.txt     \
 
334
        powercom.txt    \
 
335
        powerpanel.txt  \
 
336
        rhino.txt               \
 
337
        riello_ser.txt  \
 
338
        safenet.txt     \
 
339
        solis.txt               \
 
340
        tripplite.txt   \
 
341
        tripplitesu.txt \
 
342
        upscode2.txt    \
 
343
        victronups.txt  \
 
344
        apcupsd-ups.txt
 
345
 
 
346
MAN_SERIAL_PAGES = \
 
347
        al175.8 \
 
348
        apcsmart.8      \
 
349
        apcsmart-old.8  \
 
350
        bcmxcp.8        \
 
351
        belkin.8        \
 
352
        belkinunv.8     \
 
353
        bestfortress.8  \
 
354
        bestuferrups.8  \
 
355
        bestups.8       \
 
356
        bestfcom.8      \
 
357
        blazer_ser.8    \
 
358
        clone.8 \
 
359
        dummy-ups.8     \
 
360
        etapro.8        \
 
361
        everups.8       \
 
362
        gamatronic.8    \
 
363
        genericups.8    \
 
364
        isbmex.8        \
 
365
        ivtscd.8        \
 
366
        liebert.8       \
 
367
        liebert-esp2.8  \
 
368
        masterguard.8   \
 
369
        metasys.8       \
 
370
        mge-shut.8      \
 
371
        mge-utalk.8     \
 
372
        nutdrv_qx.8     \
 
373
        oneac.8         \
 
374
        microdowell.8   \
 
375
        optiups.8       \
 
376
        powercom.8      \
 
377
        powerpanel.8    \
 
378
        rhino.8         \
 
379
        riello_ser.8    \
 
380
        safenet.8       \
 
381
        solis.8         \
 
382
        tripplite.8     \
 
383
        tripplitesu.8   \
 
384
        upscode2.8      \
 
385
        victronups.8    \
 
386
        apcupsd-ups.8
 
387
 
 
388
if WITH_SERIAL
 
389
  man8_MANS +=  $(MAN_SERIAL_PAGES)
 
390
endif
 
391
 
 
392
HTML_SERIAL_MANS = \
 
393
        al175.html      \
 
394
        apcsmart.html   \
 
395
        apcsmart-old.html       \
 
396
        bcmxcp.html     \
 
397
        belkin.html     \
 
398
        belkinunv.html  \
 
399
        bestfortress.html       \
 
400
        bestuferrups.html       \
 
401
        bestups.html    \
 
402
        bestfcom.html   \
 
403
        blazer_ser.html \
 
404
        clone.html \
 
405
        dummy-ups.html  \
 
406
        etapro.html     \
 
407
        everups.html    \
 
408
        gamatronic.html \
 
409
        genericups.html \
 
410
        isbmex.html     \
 
411
        ivtscd.html     \
 
412
        liebert.html    \
 
413
        liebert-esp2.html       \
 
414
        masterguard.html        \
 
415
        metasys.html    \
 
416
        mge-shut.html   \
 
417
        mge-utalk.html  \
 
418
        nutdrv_qx.html  \
 
419
        oneac.html              \
 
420
        microdowell.html        \
 
421
        optiups.html    \
 
422
        powercom.html   \
 
423
        powerpanel.html \
 
424
        rhino.html              \
 
425
        riello_ser.html \
 
426
        safenet.html    \
 
427
        solis.html              \
 
428
        tripplite.html  \
 
429
        tripplitesu.html        \
 
430
        upscode2.html   \
 
431
        victronups.html \
 
432
        apcupsd-ups.html
 
433
 
 
434
# (--with-snmp)
 
435
SRC_SNMP_PAGES = snmp-ups.txt
 
436
MAN_SNMP_PAGES = snmp-ups.8
 
437
 
 
438
if WITH_SNMP
 
439
  man8_MANS += $(MAN_SNMP_PAGES)
 
440
endif
 
441
 
 
442
HTML_SNMP_MANS = snmp-ups.html
 
443
 
 
444
# (--with-usb)
 
445
SRC_USB_LIBUSB_PAGES = \
 
446
        bcmxcp_usb.txt \
 
447
        blazer-common.txt       \
 
448
        blazer_usb.txt  \
 
449
        nutdrv_atcl_usb.txt \
 
450
        nutdrv_qx.txt   \
 
451
        richcomm_usb.txt \
 
452
        riello_usb.txt  \
 
453
        tripplite_usb.txt \
 
454
        usbhid-ups.txt
 
455
 
 
456
MAN_USB_LIBUSB_PAGES = \
 
457
        bcmxcp_usb.8 \
 
458
        blazer_usb.8 \
 
459
        nutdrv_atcl_usb.8 \
 
460
        nutdrv_qx.8     \
 
461
        richcomm_usb.8 \
 
462
        riello_usb.8    \
 
463
        tripplite_usb.8 \
 
464
        usbhid-ups.8
 
465
 
 
466
if WITH_USB
 
467
 man8_MANS += $(MAN_USB_LIBUSB_PAGES)
 
468
endif
 
469
 
 
470
HTML_USB_LIBUSB_MANS = \
 
471
        bcmxcp_usb.html \
 
472
        blazer_usb.html \
 
473
        nutdrv_qx.html  \
 
474
        nutdrv_atcl_usb.html \
 
475
        richcomm_usb.html \
 
476
        riello_usb.html \
 
477
        tripplite_usb.html \
 
478
        usbhid-ups.html
 
479
 
 
480
# (--with-neon)
 
481
SRC_NETXML_PAGES = netxml-ups.txt
 
482
MAN_NETXML_PAGES = netxml-ups.8
 
483
 
 
484
if WITH_NEON
 
485
   man8_MANS += $(MAN_NETXML_PAGES)
 
486
endif
 
487
 
 
488
HTML_NETXML_MANS = netxml-ups.html
 
489
 
 
490
# (--with-powerman)
 
491
SRC_POWERMAN_PAGES = powerman-pdu.txt
 
492
MAN_POWERMAN_PAGES = powerman-pdu.8
 
493
 
 
494
if WITH_LIBPOWERMAN
 
495
   man8_MANS += $(MAN_POWERMAN_PAGES)
 
496
endif
 
497
 
 
498
HTML_POWERMAN_MANS = powerman-pdu.html
 
499
 
 
500
# (--with-ipmi)
 
501
SRC_IPMIPSU_PAGES = nut-ipmipsu.txt
 
502
MAN_IPMIPSU_PAGES = nut-ipmipsu.8
 
503
 
 
504
if WITH_IPMI
 
505
   man8_MANS += $(MAN_IPMIPSU_PAGES)
 
506
endif
 
507
 
 
508
HTML_IPMIPSU_MANS = nut-ipmipsu.html
 
509
 
 
510
SRC_MACOSX_PAGES = macosx-ups.txt
 
511
MAN_MACOSX_PAGES = macosx-ups.8
 
512
 
 
513
if WITH_MACOSX
 
514
   man8_MANS += $(MAN_MACOSX_PAGES)
 
515
endif
 
516
 
 
517
HTML_MACOSX_MANS = macosx-ups.html
 
518
 
 
519
# SOME_DRIVERS
 
520
endif
 
521
 
 
522
MAN_MANS = \
 
523
        $(MAN_CONF_PAGES) \
 
524
        $(MAN_CLIENT_PAGES) \
 
525
        $(MAN_TOOL_PAGES) \
 
526
        $(MAN5_CGI_PAGES) \
 
527
        $(MAN8_CGI_PAGES) \
 
528
        $(MAN1_DEV_PAGES) \
 
529
        $(MAN3_DEV_PAGES) \
 
530
        $(MAN_SERIAL_PAGES) \
 
531
        $(MAN_SNMP_PAGES) \
 
532
        $(MAN_USB_LIBUSB_PAGES) \
 
533
        $(MAN_NETXML_PAGES) \
 
534
        $(MAN_POWERMAN_PAGES) \
 
535
        $(MAN_IPMIPSU_PAGES) \
 
536
        $(MAN_MACOSX_PAGES)
 
537
 
 
538
# distribute everything, even those not installed by default
 
539
# Note that 'dist' target requires AsciiDoc!
 
540
EXTRA_DIST = \
 
541
        $(SRC_CONF_PAGES) \
 
542
        $(SRC_CLIENT_PAGES) \
 
543
        $(SRC_TOOL_PAGES) \
 
544
        $(SRC_CGI_PAGES) \
 
545
        $(SRC_DEV_PAGES) \
 
546
        $(SRC_SERIAL_PAGES) \
 
547
        $(SRC_SNMP_PAGES) \
 
548
        $(SRC_USB_LIBUSB_PAGES) \
 
549
        $(SRC_NETXML_PAGES) \
 
550
        $(SRC_POWERMAN_PAGES) \
 
551
        $(SRC_IPMIPSU_PAGES) \
 
552
        $(SRC_MACOSX_PAGES) \
 
553
        $(MAN_MANS) \
 
554
        asciidoc.conf
 
555
 
 
556
HTML_MANS = \
 
557
        $(HTML_CONF_MANS) \
 
558
        $(HTML_CLIENT_MANS) \
 
559
        $(HTML_TOOL_MANS) \
 
560
        $(HTML_CGI_MANS) \
 
561
        $(HTML_DEV_MANS) \
 
562
        $(HTML_SERIAL_MANS) \
 
563
        $(HTML_SNMP_MANS) \
 
564
        $(HTML_USB_LIBUSB_MANS) \
 
565
        $(HTML_NETXML_MANS) \
 
566
        $(HTML_POWERMAN_MANS) \
 
567
        $(HTML_IPMIPSU_MANS) \
 
568
        $(HTML_MACOSX_MANS)
 
569
 
 
570
all:
 
571
 
 
572
html-man: $(HTML_MANS) index.html
 
573
 
 
574
CLEANFILES = *.xml *.html
 
575
 
 
576
SUFFIXES = .txt .html .1 .3 .5 .8
 
577
 
 
578
if HAVE_ASCIIDOC
 
579
 
 
580
.txt.html:
 
581
        $(ASCIIDOC) --backend=xhtml11 \
 
582
                --attribute localdate=`TZ=UTC date +%Y-%m-%d` \
 
583
                --attribute localtime=`TZ=UTC date +%H:%M:%S` \
 
584
                -o $@ $<
 
585
 
 
586
### Prior to Asciidoc ~8.6.8, the --destination-dir flag didn't seem to affect the location of the intermediate .xml file.
 
587
A2X_MANPAGE_OPTS = --doctype manpage --format manpage \
 
588
        --attribute mansource="Network UPS Tools" \
 
589
        --attribute manversion="@PACKAGE_VERSION@" \
 
590
        --attribute manmanual="NUT Manual" \
 
591
        --destination-dir=.
 
592
 
 
593
.txt.1:
 
594
        $(A2X) $(A2X_MANPAGE_OPTS) $<
 
595
 
 
596
.txt.3:
 
597
        $(A2X) $(A2X_MANPAGE_OPTS) $<
 
598
 
 
599
.txt.5:
 
600
        $(A2X) $(A2X_MANPAGE_OPTS) $<
 
601
 
 
602
.txt.8:
 
603
        $(A2X) $(A2X_MANPAGE_OPTS) $<
 
604
 
 
605
else !HAVE_ASCIIDOC
 
606
 
 
607
.txt.html:
 
608
        @echo "Not (re)building $@ manual page, since 'asciidoc' was not found."
 
609
 
 
610
.txt.1:
 
611
        @echo "Using existing $@ manual page, since 'asciidoc' was not found."
 
612
 
 
613
.txt.3:
 
614
        @echo "Using existing $@ manual page, since 'asciidoc' was not found."
 
615
 
 
616
.txt.5:
 
617
        @echo "Using existing $@ manual page, since 'asciidoc' was not found."
 
618
 
 
619
.txt.8:
 
620
        @echo "Using existing $@ manual page, since 'asciidoc' was not found."
 
621
 
 
622
endif !HAVE_ASCIIDOC