##
## All binary releases of NeoWebScript are installed in /usr/local/apache
## by default.  This means all of Apache's scripts point to this
## directory location.  This PREFIX should not be changed unless you really
## know what you're doing and how to fix things when they break.
##

PREFIX=/usr/local/apache

####
#### The main body of the Makefile

###### The targets

all: install

install:
	@-mkdir -p ${PREFIX}
	@find bin lib man conf html logs icons proxy htdocs cgi-bin include \
	    libexec licenses docs neowebscript | cpio -pdv ${PREFIX}
	@( \
	    echo ; \
	    echo "If you are not root, you must gain root and execute the " ; \
	    echo "following command as root:" ; \
	    echo ; \
	    echo "chown -R nobody ${PREFIX}/neowebscript/neoscript-data" ; \
	    echo \
	)
