diff options
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 a13c55195..f4e3ff4eb 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -6,9 +6,14 @@ libexecdir=@libexecdir@ | |||
6 | mandir=@mandir@ | 6 | mandir=@mandir@ |
7 | sysconfdir=@sysconfdir@ | 7 | sysconfdir=@sysconfdir@ |
8 | 8 | ||
9 | srcdir = @srcdir@ | ||
10 | top_srcdir = @top_srcdir@ | ||
11 | VPATH=@srcdir@ | ||
12 | |||
9 | SSH_PROGRAM=@bindir@/ssh | 13 | SSH_PROGRAM=@bindir@/ssh |
10 | ASKPASS_LOCATION=@libexecdir@/ssh | 14 | ASKPASS_LOCATION=@libexecdir@/ssh |
11 | ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass | 15 | ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass |
16 | FIXPATHS=@top_srcdir@/fixpaths | ||
12 | 17 | ||
13 | CC=@CC@ | 18 | CC=@CC@ |
14 | PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" | 19 | 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 \ | |||
43 | radix.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o \ | 48 | radix.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o \ |
44 | xmalloc.o | 49 | xmalloc.o |
45 | 50 | ||
46 | all: $(OBJS) $(TARGETS) | 51 | all: $(OBJS) $(TARGETS) manpages |
47 | 52 | ||
48 | $(OBJS): config.h | 53 | $(OBJS): config.h |
49 | 54 | ||
@@ -80,7 +85,12 @@ gnome-ssh-askpass: gnome-ssh-askpass.c | |||
80 | $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) | 85 | $(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS) |
81 | 86 | ||
82 | clean: | 87 | clean: |
83 | rm -f *.o core $(TARGETS) config.status config.cache config.log | 88 | rm -f $(OBJS) $(TARGETS) config.status config.cache config.log core \ |
89 | *.1 *.8 sshd_config ssh_config | ||
90 | |||
91 | manpages: | ||
92 | $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.1.in $(srcdir)/*.8.in \ | ||
93 | $(srcdir)/ssh_config.in $(srcdir)/sshd_config.in | ||
84 | 94 | ||
85 | install: all | 95 | install: all |
86 | $(INSTALL) -d $(bindir) | 96 | $(INSTALL) -d $(bindir) |