Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | The contrib directory now contains its own Makefile which is |
| 2 | used during installation. It was required to pass DESTDIR through |
| 3 | when it gets called from the base Makefile. |
| 4 | |
| 5 | Upstream-Status: Pending |
| 6 | |
| 7 | Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com> |
| 8 | --- |
| 9 | Makefile.in | 2 +- |
| 10 | contrib/Makefile.in | 6 +++--- |
| 11 | 2 files changed, 4 insertions(+), 4 deletions(-) |
| 12 | |
| 13 | diff --git a/Makefile.in b/Makefile.in |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 14 | index 9434cbd..8da7d1f 100644 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | --- a/Makefile.in |
| 16 | +++ b/Makefile.in |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 17 | @@ -163,7 +163,7 @@ install-modules: $(DESTDIR)$(libexecdir) $(DESTDIR)$(sysconfdir) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | test -z "$(SHARED_MODULE_OBJS)" -a -z "$(SHARED_MODULE_DIRS)" -a -z "$(STATIC_MODULE_DIRS)" || (cd modules/ && $(MAKE) install) |
| 19 | |
| 20 | install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir) |
| 21 | - cd contrib/ && $(MAKE) install-utils |
| 22 | + cd contrib/ && $(MAKE) DESTDIR=${DESTDIR} install-utils |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 23 | $(INSTALL_BIN) $(top_builddir)/ftpcount $(DESTDIR)$(bindir)/ftpcount |
| 24 | $(INSTALL_BIN) $(top_builddir)/ftpdctl $(DESTDIR)$(bindir)/ftpdctl |
| 25 | $(INSTALL_SBIN) $(top_builddir)/ftpscrub $(DESTDIR)$(sbindir)/ftpscrub |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | diff --git a/contrib/Makefile.in b/contrib/Makefile.in |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 27 | index d1a31af..65d2abc 100644 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 28 | --- a/contrib/Makefile.in |
| 29 | +++ b/contrib/Makefile.in |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 30 | @@ -17,6 +17,6 @@ Makefile: Makefile.in ../config.status |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | cd ../ && ./config.status |
| 32 | |
| 33 | install-utils: |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 34 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpasswd $(DESTDIR)$(bindir)/ftpasswd |
| 35 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpmail $(DESTDIR)$(bindir)/ftpmail |
| 36 | - $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 $(srcdir)/ftpquota $(DESTDIR)$(bindir)/ftpquota |
| 37 | + $(INSTALL) -m 0755 $(srcdir)/ftpasswd $(DESTDIR)$(bindir)/ftpasswd |
| 38 | + $(INSTALL) -m 0755 $(srcdir)/ftpmail $(DESTDIR)$(bindir)/ftpmail |
| 39 | + $(INSTALL) -m 0755 $(srcdir)/ftpquota $(DESTDIR)$(bindir)/ftpquota |