File: Makefile.am

package info (click to toggle)
kmod 9-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 11,808 kB
  • sloc: ansic: 12,151; sh: 11,490; xml: 1,605; makefile: 329
file content (21 lines) | stat: -rw-r--r-- 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MAN5 = depmod.d.5 modprobe.d.5 modules.dep.5
MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
MAN_STUB = modules.dep.bin.5

if BUILD_TOOLS
dist_man_MANS = $(MAN5) $(MAN8) $(MAN_STUB)
modules.dep.bin.5: modules.dep.5
endif

EXTRA_DIST = $(MAN5:%.5=%.xml) $(MAN8:%.8=%.xml)

XSLTPROC_FLAGS = \
	--nonet \
	--stringparam man.output.quietly 1 \
	--param funcsynopsis.style "'ansi'"

CLEANFILES = $(dist_man_MANS)

%.5 %.8: %.xml
	$(AM_V_GEN)$(XSLTPROC) $(XSLTPROC_FLAGS) \
		http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<