From: Ryan Bloom Date: Wed, 27 Dec 2000 02:34:16 +0000 (+0000) Subject: Make it possible to build suexec from the top-level Makefiles, and make it X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f87aa4d2601797a7971b8f4fdf7076dc332a45de;p=apache Make it possible to build suexec from the top-level Makefiles, and make it install when using make install git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87531 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/Makefile.in b/Makefile.in index d646f43610..124ca476bc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ SUBDIRS = srclib modules os server support -PROGRAM_NAME = $(progname) +PROGRAM_NAME = $(progname) PROGRAM_SOURCES = modules.c PROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS) PROGRAM_DEPENDENCIES = \ @@ -15,7 +15,7 @@ PROGRAMS = $(PROGRAM_NAME) targets = $(PROGRAMS) phony_targets = $(srcdir)/buildmark.c install_targets = install-conf install-htdocs install-icons install-other \ - install-cgi install-include install-support + install-cgi install-include install-support install-suexec DISTCLEANFILES = include/config_auto.h modules.c aclocal.m4 buildmk.stamp \ configure generated_lists include/ap_config_auto.h \ include/ap_config_auto.h.in include/ap_config_path.h install-sh @@ -108,3 +108,12 @@ install-include: @cp -p $(srcdir)/srclib/apr/include/*.h $(includedir) @cp -p $(srcdir)/srclib/apr-util/include/*.h $(includedir) @chmod 644 $(includedir)/*.h + +install-suexec: + @if test -f $(builddir)/support/suexec; then \ + $(MKINSTALLDIRS) -p $(bindir)/sbin; \ + cp -p $(srcdir)/support/suexec $(bindir)/sbin; \ + fi + +suexec: + cd support && make suexec