XLIBS = -lldap -llber -llutil
XXLIBS = $(KRB_LIBS) $(LUTIL_LIBS) $(READLINE_LIBS) $(TERMCAP_LIBS)
+MANDIR=$(mandir)/man1
+
saucer: ${OBJS} $(LDAP_LIBDEPEND)
$(LTLINK) -o $@ $(OBJS) $(LIBS)
install-local: $(PROGRAMS) FORCE
- -$(MKDIR) $(libexecdir)
- $(LTINSTALL) $(INSTALLFLAGS) -m 755 saucer $(libexecdir)
+ -$(MKDIR) $(bindir)
+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 saucer $(bindir)
+ -test -d $(MANDIR) || $(MKDIR) $(mandir) $(MANDIR)
+ $(INSTALL) $(INSTALLFLAGS) -m 644 saucer.1 $(MANDIR)/saucer.1