apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr/helpers rules.mk.in
Date Fri, 16 Feb 2001 11:00:01 GMT
On Fri, Feb 16, 2001 at 10:17:12AM -0000, fielding@apache.org wrote:
>...
>   --- Makefile.in	2001/01/11 09:09:43	1.39
>   +++ Makefile.in	2001/02/16 10:17:10	1.40
>   @@ -62,18 +62,10 @@
>    	fi
>    
>    $(TARGET_EXPORTS):
>   -	if test -z "$(srcdir)"; then \
>   -		$(AWK) -f helpers/make_export.awk include/*.h > $@ ; \
>   -	else \
>   -		$(AWK) -f $(srcdir)helpers/make_export.awk $(srcdir)include/*.h > $@ ; \
>   -	fi
>   +	$(MKEXPORT) include/*.h > $@
>    
>    docs:
>   -	if test -z "$(srcdir)"; then \
>   -		helpers/scandoc -ihelpers/default.pl -p./docs/ ./include/*.h; \
>   -	else \
>   -		$(srcdir)helpers/scandoc -i$(srcdir)helpers/default.pl -p./docs/ $(srcdir)include/*.h;
\
>   -	fi
>   +	$(SCANDOC) -ihelpers/default.pl -p./docs/ ./include/*.h

The above change blew away the use of $(srcdir) to access the source files.
When you are building in a directory other than the source, you can't use
"." -- you must use $(srcdir)

The rest looks good!

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message