]>
Commit | Line | Data |
---|---|---|
5e22fc41 JR |
1 | diff -ur proftpd-1.2.0pre9.orig/Makefile.in proftpd-1.2.0pre9/Makefile.in |
2 | --- proftpd-1.2.0pre9.orig/Makefile.in Thu Oct 28 15:10:13 1999 | |
3 | +++ proftpd-1.2.0pre9/Makefile.in Thu Oct 28 15:22:09 1999 | |
4 | @@ -73,38 +73,38 @@ | |
b8ffd1e2 | 5 | rm -f proftpd ftpcount ftpwho ftpshut core *~ |
6 | ||
7 | # BSD install -d doesn't work, so ... | |
8 | -$(localstatedir) $(sysconfdir) $(rundir) $(bindir) $(sbindir) $(mandir) $(mandir)/man1 $(mandir)/man5 $(mandir)/man8: | |
9 | +$(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(rundir) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8: | |
10 | @if [ ! -d $@ ]; then \ | |
11 | mkdir -p $@; \ | |
12 | chown $(INSTALL_USER):$(INSTALL_GROUP) $@; \ | |
13 | chmod 0755 $@; \ | |
14 | fi | |
15 | ||
16 | -install-proftpd: proftpd $(localstatedir) $(sysconfdir) $(rundir) $(sbindir) | |
17 | - $(INSTALL_SBIN) proftpd $(sbindir)/proftpd | |
ede4971e JR |
18 | - if [ -f $(sbindir)/in.proftpd ] ; then \ |
19 | - rm -f $(sbindir)/in.proftpd ; \ | |
b8ffd1e2 | 20 | +install-proftpd: proftpd $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(rundir) $(DESTDIR)$(sbindir) |
21 | + $(INSTALL_SBIN) proftpd $(DESTDIR)$(sbindir)/proftpd | |
ede4971e JR |
22 | + if [ -f $(DESTDIR)$(sbindir)/in.proftpd ] ; then \ |
23 | + rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ | |
b8ffd1e2 | 24 | fi |
ede4971e JR |
25 | - ln -s proftpd $(sbindir)/in.proftpd |
26 | + ln -s proftpd $(DESTDIR)$(sbindir)/in.proftpd | |
b8ffd1e2 | 27 | |
28 | -install-utils: $(sbindir) $(bindir) | |
29 | - $(INSTALL_BIN) ftpcount $(bindir)/ftpcount | |
5e22fc41 | 30 | - $(INSTALL_BIN) ftpwho $(bindir)/ftpwho |
b8ffd1e2 | 31 | - $(INSTALL_SBIN) ftpshut $(sbindir)/ftpshut |
32 | +install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) | |
33 | + $(INSTALL_BIN) ftpcount $(DESTDIR)$(bindir)/ftpcount | |
5e22fc41 | 34 | + $(INSTALL_BIN) ftpwho $(DESTDIR)$(bindir)/ftpwho |
b8ffd1e2 | 35 | + $(INSTALL_SBIN) ftpshut $(DESTDIR)$(sbindir)/ftpshut |
36 | ||
37 | -install-conf: $(sysconfdir) | |
38 | - if [ ! -f $(sysconfdir)/proftpd.conf ] ; then \ | |
39 | +install-conf: $(DESTDIR)$(sysconfdir) | |
40 | + if [ ! -f $(DESTDIR)$(sysconfdir)/proftpd.conf ] ; then \ | |
41 | $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 \ | |
42 | $(top_srcdir)/sample-configurations/basic.conf \ | |
43 | - $(sysconfdir)/proftpd.conf ; \ | |
44 | + $(DESTDIR)$(sysconfdir)/proftpd.conf ; \ | |
45 | fi | |
46 | ||
47 | -install-man: $(mandir) $(mandir)/man1 $(mandir)/man5 $(mandir)/man8 | |
48 | - $(INSTALL_MAN) $(top_srcdir)/src/proftpd.8 $(mandir)/man8 | |
49 | - $(INSTALL_MAN) $(top_srcdir)/src/ftpshut.8 $(mandir)/man8 | |
50 | - $(INSTALL_MAN) $(top_srcdir)/src/ftpwho.1 $(mandir)/man1 | |
51 | - $(INSTALL_MAN) $(top_srcdir)/src/ftpcount.1 $(mandir)/man1 | |
52 | - $(INSTALL_MAN) $(top_srcdir)/src/xferlog.5 $(mandir)/man5 | |
53 | +install-man: $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8 | |
54 | + $(INSTALL_MAN) $(top_srcdir)/src/proftpd.8 $(DESTDIR)$(mandir)/man8 | |
55 | + $(INSTALL_MAN) $(top_srcdir)/src/ftpshut.8 $(DESTDIR)$(mandir)/man8 | |
56 | + $(INSTALL_MAN) $(top_srcdir)/src/ftpwho.1 $(DESTDIR)$(mandir)/man1 | |
57 | + $(INSTALL_MAN) $(top_srcdir)/src/ftpcount.1 $(DESTDIR)$(mandir)/man1 | |
58 | + $(INSTALL_MAN) $(top_srcdir)/src/xferlog.5 $(DESTDIR)$(mandir)/man5 | |
59 | ||
60 | install-all: install-proftpd install-utils install-conf install-man | |
61 |