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