blob: fa9964ce1a842d8c80b039c6b297d6d2bc73df43 (
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
|
man_MANS = \
eselect.1 \
binutils.eselect.5 \
editor.eselect.5 \
env.eselect.5 \
kernel.eselect.5 \
news.eselect.5 \
pager.eselect.5 \
profile.eselect.5 \
rc.eselect.5 \
visual.eselect.5
EXTRA_DIST = $(man_MANS)
MAINTAINERCLEANFILES = Makefile.in
# turn foo-<suffix> into foo.eselect.5
dosed = @SED@ -e 's,^\(.*\)-.*,\1\.eselect\.5,'
install-data-local : $(foreach f, $(symlinks), install-symlink-$(f))
install-symlink-% : install-man
ln -snf \
$(mandir)/man5/$(shell echo $* | $(dosed)) \
$(DESTDIR)$(mandir)/man1/$*.1
|