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