summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
AgeCommit message (Collapse)Author
2015-05-13Fix distclean/maintainer-clean targets to remove top-level tmp_install dir.Tom Lane
The top-level makefile removes tmp_install in its "clean" target, but the distclean and maintainer-clean targets overlooked that (and they don't simply invoke clean, because that would result in an extra tree traversal). While at it, let's just make sure that removing GNUmakefile itself is the very last step of the recipe.
2015-04-30Fix parallel make risk with new check temp-install setupPeter Eisentraut
The "check" target no longer needs to depend on "all", because it now runs "install" directly, which in turn depends on "all". Doing both will cause problems with parallel make, because two builds will run next to each other. Also remove the redirection of the temp-install output into a log file. This was appropriate when this was done from within pg_regress, but now it's just a regular make run, and especially with the above changes this will now take the place of running the "all" target before the test suites. problem report by Jeff Janes, patch in part by Michael Paquier
2015-04-23Improve speed of make check-worldPeter Eisentraut
Before, make check-world would create a new temporary installation for each test suite, which is slow and wasteful. Instead, we now create one test installation that is used by all test suites that are part of a make run. The management of the temporary installation is removed from pg_regress and handled in the makefiles. This allows for better control, and unifies the code with that of test suites not run through pg_regress. review and msvc support by Michael Paquier <michael.paquier@gmail.com> more review by Fabien Coelho <coelho@cri.ensmp.fr>
2014-04-15Add TAP tests for client programsPeter Eisentraut
Reviewed-by: Pavel Stěhule <pavel.stehule@gmail.com> Reviewed-by: Erik Rijkers <er@xs4all.nl>
2014-02-11Don't generate plain-text HISTORY and src/test/regress/README anymore.Tom Lane
Providing this information as plain text was doubtless worth the trouble ten years ago, but it seems likely that hardly anyone reads it in this format anymore. And the effort required to maintain these files (in the form of extra-complex markup rules in the relevant parts of the SGML documentation) is significant. So, let's stop doing that and rely solely on the other documentation formats. Per discussion, the plain-text INSTALL instructions might still be worth their keep, so we continue to generate that file. Rather than remove HISTORY and src/test/regress/README from distribution tarballs entirely, replace them with simple stub files that tell the reader where to find the relevant documentation. This is mainly to avoid possibly breaking packaging recipes that expect these files to exist. Back-patch to all supported branches, because simplifying the markup requirements for release notes won't help much unless we do it in all branches.
2014-01-28Add new make targets check-tests and installcheck-tests.Andrew Dunstan
These do not run any specific schedule of tests, but only those specified as part of the invocation, e.g.: make check-tests TESTS="json jsonb"
2013-10-11Remove maintainer-check target, fold into normal buildPeter Eisentraut
make maintainer-check was obscure and rarely called in practice, and many breakages were missed. Fold everything that make maintainer-check used to do into the normal build. Specifically: - Call duplicate_oids when genbki.pl is called. - Check for tabs in SGML files when the documentation is built. - Run msgfmt with the -c option during the regular build. Add an additional configure check to see whether we are using the GNU version. (make maintainer-check probably used to fail with non-GNU msgfmt.) Keep maintainer-check as around as phony target for the time being in case anyone is calling it. But it won't do anything anymore.
2012-06-29Make init-po and update-po recursive make targetsPeter Eisentraut
This is for convenience, now that adding recursive targets is much easier than it used to be when the NLS stuff was initially added.
2012-03-05Add isolation test to check-world and installcheck-worldPeter Eisentraut
2011-08-24Build src/ before contrib/ in make worldPeter Eisentraut
This fixes failures under parallel make when contrib modules use a generated backend header file (such as errcodes.h).
2011-04-25Support "make check" in contribPeter Eisentraut
Added a new option --extra-install to pg_regress to arrange installing the respective contrib directory into the temporary installation. This is currently not yet supported for Windows MSVC builds. Updated the .gitignore files for contrib modules to ignore the leftovers of a temp-install check run. Changed the exit status of "make check" in a pgxs build (which still does nothing) to 0 from 1. Added "make check" in contrib to top-level "make check-world".
2011-03-28Add maintainer-check targetPeter Eisentraut
This can do various source code checks that are not appropriate for either the build or the regression tests. Currently: duplicate_oids, SGML syntax and tabs check, NLS syntax check.
2011-02-15Allow make check in PL directoriesPeter Eisentraut
Also add make check-world target, and refactor pg_regress invocation code in makefiles a bit.
2010-11-12Improved parallel make supportPeter Eisentraut
Replace for loops in makefiles with proper dependencies. Parallel make can now span across directories. Also, make -k and make -q work properly. GNU make 3.80 or newer is now required.
2010-11-03Print a make warning when using GNU make older than 3.80Peter Eisentraut
A proposed patch will require GNU make 3.80 or newer. We will let this patch run for a while to see how much damage that would do to the buildfarm.
2010-09-21Rename README.CVS to README.git and change references in it.Magnus Hagander
2010-09-20Remove cvs keywords from all files.Magnus Hagander
2010-03-30Separate targets "make docs" and "make install-docs" for the documentationPeter Eisentraut
It is no longer installed by default, but included in "make world"/"make install-world". Documentation updated accordingly. Also, fix vpathsearch function to work when calling make install-docs without previous make docs.
2010-01-29Fix thinko in new installcheck-world targetAndrew Dunstan
2010-01-28Add new make targets "world", "install-world" and "installcheck-world" to ↵Andrew Dunstan
build, install and check just about everything. In addition to everything built installed and tested by all, install and installcheck targets, these build HTML Docs, build and test contrib, and test PLs and ECPG.
2009-11-03Build bzip2 tarball in dist target as wellPeter Eisentraut
2009-10-29Remove some leftovers of split tarball supportPeter Eisentraut
2009-08-14Be able to easily figure out the target directory of "make dist".Alvaro Herrera
2009-08-09Ship documentation without intermediate tarballsPeter Eisentraut
Documentation files in HTML and man formats are now prepared for distribution using the distprep make target, like everything else. They are placed in doc/src/sgml/html and manX and installed from there by make install, if present. The business with the tarballs in the tarball is gone.
2009-08-07Expand test coverage support to entire treePeter Eisentraut
Test coverage support now covers the entire source tree, including contrib, instead of just src/backend. In a related but independent development, the commands make coverage and make coverage-html can be run in any directory. This turned out to be much easier than feared. Besides a few ad hoc fixes to pass the make target down the tree, change all affected makefiles to list their directories in the SUBDIRS variable, changed from variants like DIRS and WANTED_DIRS. MSVC build fix was attempted as well.
2009-01-15Modify distdir rule to skip .git directory.Bruce Momjian
2008-12-04Call genhtml with --prefix option so local build paths don't appear in thePeter Eisentraut
coverage output.
2008-09-05Code coverage testing with gcov. Documentation is in the regression testPeter Eisentraut
chapter. Author: Michelle Caisse <Michelle.Caisse@Sun.COM>
2008-03-18Catch all errors in for and while loops in makefiles. Don't ignore anyPeter Eisentraut
errors in any commands, including in various clean targets that have so far been handled inconsistently. make -i is available to ignore all errors in a consistent and official way.
2007-02-09Replace useless uses of := by = in makefiles.Peter Eisentraut
2006-08-18Add installcheck-parallel target to top level makefiles.Andrew Dunstan
2006-04-06Build src/test/regress/README during tarball making like the otherPeter Eisentraut
generated text files. Fix build of that file, too. Put the text files in the right place during make dist, so there are no extra manual steps required anymore.
2006-04-03Put flex'ed and bison'ed files in contrib in the distribution tarball, asPeter Eisentraut
is done for the analogous files in the main distribution.
2005-05-01Remove the contents of the src/corba subdirectory: this has been dead codeNeil Conway
for a long time.
2004-10-06please find attached an alternate submission which addresses open itemBruce Momjian
"make pgxs install by default". It is up to the committers to chose. (1) there is only one "install" target. no more "install-all-headers". it simplifies/changes several makefiles. (2) the documentation reflects the change. (3) a minor fix on pgxs to use a nicer patch without a double slash. Fabien Coelho
2004-07-30PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, withPeter Eisentraut
some massaging by Peter Eisentraut. This is basically a simple generalization of the existing contrib makefiles.
2004-06-13Remove README.CVS when making a distribution.Peter Eisentraut
2004-04-20Remove all of the libpgtcl and pgtclsh files, including all references toPostgreSQL Daemon
them within the various makefiles with_tcl is still required for the src/pl/tcl language
2004-01-19Remove JDBC from the build system and documentation, too.Tom Lane
2003-11-28testing $PostgreSQL$ tagPostgreSQL Daemon
2003-10-13Remove registration message, after discussion concluded that it was ofPeter Eisentraut
little use.
2003-08-05can't mix and match .gz and .bz2 in here ... won't buildREL7_4_BETA1PostgreSQL Daemon
2003-08-05seeing if building bz2 distributions actually works ...PostgreSQL Daemon
2003-08-05remove src/data from target listPostgreSQL Daemon
2003-08-01python needs to be removed from hereMarc G. Fournier
2002-10-21First step to removing /contrib/retep, with Peter Mount's approval.Bruce Momjian
2002-09-06Adjust the tarball splitting scheme to the new reality.Peter Eisentraut
2002-09-05remove pgaccess from GNUmakefile.in if we want the beta to build :)Marc G. Fournier
2002-08-30perl5 interface moved to gborgMarc G. Fournier
2002-08-22Remove all traces of the ODBC driver, which is now on GBorg as the psqlodbcMarc G. Fournier
project ...