Commit 7c75d52f authored by Ryan Bloom's avatar Ryan Bloom
Browse files

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
parent ffe62588
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -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