1
## Process this file with automake to produce Makefile.in
3
man5_MANS = idmapd.conf.man
27
idmapd_LDADD = -levent -lnfsidmap ../../support/nfs/libnfs.a
29
MAINTAINERCLEANFILES = Makefile.in
31
#######################################################################
32
# The following allows the current practice of having
33
# daemons renamed during the install to include RPCPREFIX
35
# This could all be done much easier with program_transform_name
36
# ( program_transform_name = s/^/$(RPCPREFIX)$(KPREFIX)/ )
37
# but that also renames the man pages, which the current
38
# practice does not do.
40
(cd $(DESTDIR)$(sbindir) && \
41
for p in $(sbin_PROGRAMS); do \
42
mv -f $$p$(EXEEXT) $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
45
(cd $(DESTDIR)$(sbindir) && \
46
for p in $(sbin_PROGRAMS); do \
47
rm -f $(RPCPREFIX)$(KPREFIX)$$p$(EXEEXT) ;\
51
# XXX This makes some assumptions about what automake does.
52
# XXX But there is no install-man-hook or install-man-local.
53
install-man: install-man5 install-man8 install-man-links
54
uninstall-man: uninstall-man5 uninstall-man8 uninstall-man-links
57
(cd $(DESTDIR)$(man8dir) && \
58
for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
59
inst=`echo $$m | sed -e 's/man$$/8/'`; \
60
rm -f $(RPCPREFIX)$$inst ; \
61
$(LN_S) $$inst $(RPCPREFIX)$$inst ; \
65
(cd $(DESTDIR)$(man8dir) && \
66
for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
67
inst=`echo $$m | sed -e 's/man$$/8/'`; \
68
rm -f $(RPCPREFIX)$$inst ; \