summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Avoid non-portable whitespace in sed expressionDaniel Elstner2009-11-041-1/+1
| | | | | | * build/dist-changelog.am (dist-changelog): According to the Autoconf documentation, POSIX does not allow whitespace between the ! operator and the command that follows it.
* Properly handle shallow source directory layoutsDaniel Elstner2009-10-071-1/+1
| | | | | | * build/generate-binding.am (binding_outputdir): Avoid a superfluous ./ component in the concatenated path if the parent directory is the top-level directory of the source tree.
* Shorten relative path to source output directoryDaniel Elstner2009-10-071-1/+1
| | | | | * build/generate-binding.am (binding_outputdir): Assign a simplified relative path if a separate build directory is not used.
* Do not set default Devhelp base path to HTTP URLDaniel Elstner2009-09-271-10/+7
| | | | | | | | | * build/doc-reference.am (dh_xsl_params): Do not set the Devhelp base attribute to the public Web location of the documentation by default. This made it look as though Devhelp supports anything but local paths for the base attribute, which it does not. (htmlref_patterns): Use $(addprefix) function to avoid repetition. (docdir_base_uri): Strip trailing slash from $(datarootdir).
* Support Automake silent rulesDaniel Elstner2009-09-193-10/+14
| | | | | | | | | * configure.ac: Call the AM_SILENT_RULES macro if it is defined. * Makefile.am: Prefix the commands of custom rules with $(AM_V_at) or $(AM_V_GEN) to quieten the command echoing in silent mode. * build/*.am: Likewise for the common build support files. * build/generate-binding.am (mm_v_gen): Define custom silent output for the gmmproc code generation rule.
* Fix Devhelp file installation with Automake 1.11Daniel Elstner2009-09-191-12/+32
| | | | | | | | | | | | | | * build/doc-reference.am (install-htmlref), (uninstall-htmlref): Move commands to install the Doxygen HTML output to separate custom rules. (install-devhelp), (uninstall-devhelp): New custom rules to translate and install the Devhelp file. (install-data-local), (uninstall-local): Depend on the custom install and uninstall rules for the HTML and Devhelp documentation files. (dist_devhelpDATA_INSTALL): Remove variable assignment. The ability to selectively override the install program was never documented and does not work anymore with Automake 1.11. (dist_devhelp_DATA): Remove variable assignment. (dist_noinst_DATA): Distribute Devhelp file.
* Do not show merge commits in generated ChangeLogDaniel Elstner2009-09-181-1/+1
| | | | | | * build/dist-changelog.am (dist-changelog): Add --no-merge option to exclude merge commits from the output. The individual merged commits are still shown.
* Automatically create private/ output directoryDaniel Elstner2009-09-181-3/+6
| | | | | | * build/generate-binding.am (binding_mkdirs): In addition to the .stamps/ subdirectory, also create the private headers directory automatically if it does not exist at build time.
* Check for a proper sed program during configureDaniel Elstner2009-09-131-2/+2
| | | | | | | | * configure.ac: Call AC_PROG_SED to check for a proper sed program. * Makefile.am (subst_manpage): Use $(SED) variable. * build/dist-changelog.am (dist-changelog): ditto, in the expectation that most modules using mm-common already assign $(SED) in one way or another.
* Refine wrap_init.cc and documentation dependenciesDaniel Elstner2009-09-093-7/+9
| | | | | | | | | | | | * build/compile-binding.am (binding_libprefix): Replace short-hand substitution $(binding_name:lib%=) with an explicit $(filter) call. * build/doc-reference.am (doc_dependencies): In maintainer mode, also depend on Makefile.in in order to trigger a rebuild when the list of input files changed. * build/generate-binding.am (binding_stampfiles): Replace short-hand substitution $(files_hg:%.hg=...) with an explicit $(patsubst) call. (wrap_init.cc): Make Makefile.in a prerequisite so that the file will be rebuilt when the list of source files changed.
* Rebuild reference doc on config header changeDaniel Elstner2009-09-081-1/+5
| | | | | | | * build/doc-reference.am (doc_dependencies): Prepend $(CONFIG_HEADER) to make the reference documentation build depend on the generated configuration header files of the module. This way, the rebuild is triggered when necessary without causing too many spurious rebuilds.
* Remove pointless prerequisite from dist-changelogDaniel Elstner2009-09-011-2/+2
| | | | | | * build/dist-changelog.am (dist-changelog): Remove internal git file from the target prerequisites. If the source directory is not a git repository, the command will fail anyway.
* Avoid truncating the bottom-most ChangeLog messageDaniel Elstner2009-09-011-1/+1
| | | | | | * build/dist-changelog.am (dist-changelog): Always output a blank line after each extracted log entry, in order to avoid tripping up the sed program used to post-process the git output.
* Collapse blank lines in the generated ChangeLogDaniel Elstner2009-08-311-2/+4
| | | | | | * build/dist-changelog.am (dist-changelog): Modify the sed program to post-process the git output so that it collapses multiple consecutive blank lines into a single one.
* Change default doc location to library.gnome.orgDaniel Elstner2009-08-251-2/+2
| | | | | * build/doc-reference.am (pubdocbase): Point to library.gnome.org. (htmlrefpub): Adjust to directory layout on library.gnome.org.
* Smoothen documentation magic complexityDaniel Elstner2009-08-231-4/+3
| | | | | | | | | | | | | * macros/mm-doc.m4 (_MM_CONFIG_DOCTOOL_DIR): Collapse redundant indirection through $mm_doctooldir. (_MM_ARG_ENABLE_DOCUMENTATION): Reorganize the error handling logic. Report all utilities which are missing, not just the first one. (_MM_TR_URI): New internal helper macro, defining the shell construct used to create a file:// URI from a native filesystem path. (_MM_ARG_WITH_TAGFILE_DOC): Use new _MM_TR_URI() macro. * build/doc-reference.am (docdir_base_uri): Split expression into two variable assignments for clarity. Use $(subst ,, ) trick instead of auxiliary variables to define a literal space character.
* Use URIs instead of OS path names in markup filesDaniel Elstner2009-08-191-1/+7
| | | | | | | | | * macros/mm-doc.m4 (_MM_ARG_WITH_TAGFILE_DOC): Translate local path names to file:// URIs, since these path names end up in XML and HTML files. The canonical representation also simplifies the translation from absolute to relative path names during installation. * build/doc-reference.am (htmlref_install): Take the new file:// URI prefix into account when translating from absolute to relative links.
* Pass the gmmproc module directory to PerlDaniel Elstner2009-08-181-1/+1
| | | | | * build/generate-binding.am (gmmproc): Pass -I"$(GMMPROC_DIR)/pm" to the Perl interpreter in the default command line to invoke gmmproc.
* Do not append slash to DOXYGEN_TAGFILES locationsDaniel Elstner2009-08-181-4/+4
| | | | | | | | | | | | | | * build/doc-reference.am (dist_devhelpDATA_INSTALL): Strip trailing slash from $(htmlrefdir), if there is one. (dh_xsl_params): Strip trailing slash from $(htmlrefpub). * macros/mm-doc.m4 (_MM_ARG_WITH_TAGFILE_DOC): Strip the trailing slash from $mm_htmlrefdir and $mm_htmlrefpub if there is one, instead of appending one. Do append the slash to the locations listed in the DOCINSTALL_FLAGS output variable, but omit it for DOXYGEN_TAGFILES. Apparently Doxygen is not trying to be smart when it automatically appends a trailing slash to the external documentation base paths. Rather, it just mindlessly appends it no matter what, ending up with a double slash if there already was one.
* Be more consistent about trailing slashesDaniel Elstner2009-08-161-4/+4
| | | | | | | | | | | * build/doc-reference.am (htmlrefpub): Do append a trailing slash after all, and say so in the documentation comment (Hi David!). Although Doxygen adds the slash implicitly, doc-install.pl currently does not, and explicit use of the slash is more consistent anyway. (dist_devhelpDATA_INSTALL): Append a slash after $(htmlrefdir) for consistency with the default $(htmlrefpub) value for --book-base. * doctags/mm-common-libstdc++.pc.in (htmlrefpub): Append a slash. * doctags/mm-common-libstdc++-uninstalled.pc.in (htmlrefpub): ditto.
* Implement filename globbing within doc-install.plDaniel Elstner2009-08-091-24/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Allow code generator locations to be overriddenDaniel Elstner2009-08-091-7/+9
| | | | | | | | * build/generate-binding.am (gmmproc): New overridable variable, pointing by default to the gmmproc installed by glibmm. (gen_wrap_init): Likewise for generate_wrap_init.pl. (gmmproc_flags): New overridable variable for specifying the flags passed to gmmproc on the command line.
* Handle extra private headers in compile-bindingDaniel Elstner2009-08-091-3/+3
| | | | | * build/compile-binding.am (binding_private_HEADERS): Substitute the value of variable $(files_extra_ph) in addition to $(files_built_ph).
* Create mm-common moduleDaniel Elstner2009-08-044-0/+314