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