diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-27 09:23:58 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-27 09:23:58 +1100 |
commit | c0d739039807abaa7985112370b4c5f4e85e02d7 (patch) | |
tree | 70d1579e28003ac341dfa9330d6e1d63e8108bc2 /Makefile.in | |
parent | aae1093640162022abba350d94c3051e6d730425 (diff) |
- Automatically correct paths in manpages and configuration files. Patch
and script from Andre Lucas <andre.lucas@dial.pipex.com>
- Removed credits from README to CREDITS file, updated.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index a13c5519..f4e3ff4e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -6,9 +6,14 @@ libexecdir=@libexecdir@ mandir=@mandir@ sysconfdir=@sysconfdir@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH=@srcdir@ + SSH_PROGRAM=@bindir@/ssh ASKPASS_LOCATION=@libexecdir@/ssh ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass +FIXPATHS=@top_srcdir@/fixpaths CC=@CC@ PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" @@ -43,7 +48,7 @@ LIBOBJS= atomicio.o authfd.o authfile.o bsd-daemon.o bsd-mktemp.o \ radix.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o \ xmalloc.o -all: $(OBJS) $(TARGETS) +all: $(OBJS) $(TARGETS) manpages $(OBJS): config.h @@ -80,7 +85,12 @@ gnome-ssh-askpass: gnome-ssh-askpass.c $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) clean: - rm -f *.o core $(TARGETS) config.status config.cache config.log + rm -f $(OBJS) $(TARGETS) config.status config.cache config.log core \ + *.1 *.8 sshd_config ssh_config + +manpages: + $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.1.in $(srcdir)/*.8.in \ + $(srcdir)/ssh_config.in $(srcdir)/sshd_config.in install: all $(INSTALL) -d $(bindir) |