GraphicsMagick: www/wand/Makefile.am: Pass an absolute path to f...
GraphicsMagick Commits <[email protected]> Mon, 06 Jan 2025 10:43:43 -0600
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.45124.1736181855.7833.graphicsmagick-commit@lists.sourceforge.net> |
changeset e5d4aab85dc2 in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=e5d4aab85dc2 summary: www/wand/Makefile.am: Pass an absolute path to format_c_api_doc.py --include-rst argument. diffstat: ChangeLog | 3 +++ Makefile.in | 2 +- www/ChangeLog.html | 6 ++++++ www/wand/Makefile.am | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diffs (52 lines): diff -r 2e8f11637087 -r e5d4aab85dc2 ChangeLog --- a/ChangeLog Mon Jan 06 10:13:51 2025 -0600 +++ b/ChangeLog Mon Jan 06 10:43:14 2025 -0600 @@ -1,5 +1,8 @@ 2025-01-06 Bob Friesenhahn <[email protected]> + * www/wand/Makefile.am ($(WWWWANDAPIDIR)/%.apirst): Pass an + absolute path to format_c_api_doc.py --include-rst argument. + * magick/magick_endian.c (MagickReverseBits): Function has never been used for anything. Mark it as deprecated. MagickGetBitRevTable(): Function has never been used for anything. diff -r 2e8f11637087 -r e5d4aab85dc2 Makefile.in --- a/Makefile.in Mon Jan 06 10:13:51 2025 -0600 +++ b/Makefile.in Mon Jan 06 10:43:14 2025 -0600 @@ -11350,7 +11350,7 @@ @HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@$(WWWWANDAPIDIR)/%.apirst : $(top_srcdir)/wand/%.c @HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@ @printf "Updating $@ ...\n" -@HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@ $(FORMATCAPI) --whatis-file $(APIWHATIS) --include-rst $(top_srcdir)/www/api/api_hyperlinks.rst $< $@ +@HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@ $(FORMATCAPI) --whatis-file $(APIWHATIS) --include-rst $(abs_top_srcdir)/www/api/api_hyperlinks.rst $< $@ @HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@$(WWWWANDAPIDIR)/%.html : $(WWWWANDAPIDIR)/%.apirst @HasRST2HTML_TRUE@@MAINTAINER_MODE_TRUE@ @printf "Updating $@ ...\n" diff -r 2e8f11637087 -r e5d4aab85dc2 www/ChangeLog.html --- a/www/ChangeLog.html Mon Jan 06 10:13:51 2025 -0600 +++ b/www/ChangeLog.html Mon Jan 06 10:43:14 2025 -0600 @@ -41,6 +41,12 @@ <p>2025-01-06 Bob Friesenhahn <<a class="reference external" href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span>@</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p> <blockquote> <ul class="simple"> +<li><p>www/wand/Makefile.am ($(WWWWANDAPIDIR)/%.apirst): Use +$(abs_top_srcdir) rather than $(top_srcdir) for the --include-rst +argument when invoking format_c_api_doc.py to assure correct +function if the build tree was configured using a relative path to +the source directory, and the current working directory is +changed.</p></li> <li><p>magick/magick_endian.c (MagickReverseBits): Function has never been used for anything. Mark it as deprecated. MagickGetBitRevTable(): Function has never been used for anything. diff -r 2e8f11637087 -r e5d4aab85dc2 www/wand/Makefile.am --- a/www/wand/Makefile.am Mon Jan 06 10:13:51 2025 -0600 +++ b/www/wand/Makefile.am Mon Jan 06 10:43:14 2025 -0600 @@ -45,7 +45,7 @@ $(WWWWANDAPIDIR)/%.apirst : $(top_srcdir)/wand/%.c @printf "Updating $@ ...\n" - $(FORMATCAPI) --whatis-file $(APIWHATIS) --include-rst $(top_srcdir)/www/api/api_hyperlinks.rst $< $@ + $(FORMATCAPI) --whatis-file $(APIWHATIS) --include-rst $(abs_top_srcdir)/www/api/api_hyperlinks.rst $< $@ $(WWWWANDAPIDIR)/%.html : $(WWWWANDAPIDIR)/%.apirst @printf "Updating $@ ...\n"