summaryrefslogtreecommitdiff
path: root/util/doc-install.pl
Commit message (Collapse)AuthorAgeFilesLines
* util/doc-install.pl: Improve the update for Doxygen >= 1.8.16Kjell Ahlstedt2020-06-171-5/+19
| | | | | | * skeletonmm/doc/reference/meson.build: * util/doc-install.pl: Move some code from meson.build to doc-install.pl, where regular expressions can be used.
* util/doc-install.pl: Update for Doxygen >= 1.8.16Kjell Ahlstedt2020-06-151-13/+78
| | | | | | | | Doxygen 1.8.16 and later does not store tag file names in the html files. * skeletonmm/doc/reference/meson.build: * util/doc-install.pl: Modify so that references to other modules are still updated in the html files when they are installed.
* Treat whitespace in glob patterns literallyDaniel Elstner2009-09-111-1/+2
| | | | | | | * util/doc-{install,postprocess}.pl: Explicitly call the bsd_glob() subroutine instead of the builtin glob() function. Although the builtin glob() is implemented in terms of bsd_glob(), it additionally splits its argument into multiple patterns separated by whitespace.
* Concatenate the destination path only when neededDaniel Elstner2009-09-021-1/+1
| | | | | * util/doc-install.pl: Move the assignment to $out_file into the conditional block where it is actually used.
* Implement filename globbing within doc-install.plDaniel Elstner2009-08-091-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * util/doc-install.pl: Add a new --glob flag, which tells the script to interpret the source arguments as glob patterns instead of literal filenames. Performing the filename glob expansion internally avoids excessively long argument lists, which can unfortunately be a problem with some platforms. Also, remember the basename of every installed file, and use that information to skip over files whose basename has already been seen. * util/doc-postprocess.pl: Also perform globbing internally to avoid excessively long command lines. * build/doc-reference.am (MMDOCTOOLDIR): Use this separate variable instead of GMMPROC_DIR for the default location of the documentation utility scripts. (doc_postprocess), (doc_install), (tagfile_to_devhelp2): Derive default values from $(MMDOCTOOLDIR). Include the interpreter command $(PERL) as part of the variable value, just in case someone needs to override the Perl interpreter as well. (install-data-local): Use the new --glob feature of doc-install.pl instead of having make expand the entire list of filenames into the shell command-line. (uninstall-local): Do not rely on globbing at the shell level for producing the list of files to delete, since it would probably exceed the command line length limits of some platforms. Do not go back to rm -rf either, but use a combination of 'find' and 'rm -f' to restrict the deletion to those files that match the same glob pattern as the one used to select the files to install.
* Create mm-common moduleDaniel Elstner2009-08-041-0/+207