blob: 49f6de9bcd97ac958fbeb85957f7691c584e1641 (
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
25
26
|
if MAN_PAGES_ENABLED
MAN_IN_FILES = hald.8.in lshal.1.in hal-get-property.1.in hal-set-property.1.in hal-find-by-property.1.in hal-find-by-capability.1.in hal-is-caller-locked-out.1.in hal-lock.1.in hal-disable-polling.1.in
if HAVE_POLKIT
MAN_IN_FILES += hal-is-caller-privileged.1.in
endif
man_MANS = $(MAN_IN_FILES:.in=)
endif # MAN_PAGES_ENABLED
EXTRA_DIST=$(man_MANS) $(MAN_IN_FILES)
clean-local:
rm -f *~ *.1 *.8
%: %.in Makefile
$(edit) $< >$@
edit = sed \
-e 's|@docdir[@]|$(docdir)|g' \
-e 's|@sbindir[@]|$(sbindir)|g' \
-e 's|@sysconfdir[@]|$(sysconfdir)|g'
|