You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Greg Stein <gs...@lyra.org> on 2001/02/16 12:00:01 UTC
Re: cvs commit: apr/helpers rules.mk.in
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/