httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: install: tag in Makefile.tmpl
Date Sun, 01 Dec 1996 22:22:33 GMT
Randy Terbush wrote:
> 
> This was brought up recently, but I don't remember a resolution.
> 
> Would there be great oposition in adding the following install:
> tag to Makefile.tmpl? PREFIX would of course need to be defined.
> 
> 
> install:
> 	if [ ! -d $(PREFIX)/bin ]; then \
> 		mkdir -p $(PREFIX)/bin \
> 	fi
> 	cp httpd $(PREFIX)/bin
> 	if [ ! -d $(PREFIX)/include ]; then \
> 		mkdir -p $(PREFIX)/include \
> 	fi
> 	cp httpd.h $(PREFIX)/include
> 

There are some OSs that don't support the 'mkdir -p' option.
For max portability, I would suggest either a shell-script
that emulates or another alternative.
-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
                  "Not the Craw... the CRAW!"

Mime
View raw message