]> git.sur5r.net Git - openldap/commitdiff
Fix Makefile.in: Install in bindir instead of libexecdir. Install manpage.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Mar 1999 19:43:26 +0000 (19:43 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Mar 1999 19:43:26 +0000 (19:43 +0000)
contrib/saucer/Makefile.in

index 39aa66577a0526e5a690ced6c8e116ecc490f591..e15d9db6cebb098cedfd4c572c930407ae75f35a 100644 (file)
@@ -11,9 +11,13 @@ READLINE_LIBS = @READLINE_LIBS@
 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