From 5dd41f3574871757e6b8e2a16b3e736fee36c20d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 11 Sep 2013 14:34:28 -0400 Subject: Remove maintainer-check target, fold into normal build 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. --- doc/src/Makefile | 2 +- doc/src/sgml/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/Makefile b/doc/src/Makefile index b0d4f1f5063..30d883815aa 100644 --- a/doc/src/Makefile +++ b/doc/src/Makefile @@ -4,5 +4,5 @@ subdir = doc/src top_builddir = ../.. include $(top_builddir)/src/Makefile.global -all distprep html man install installdirs uninstall clean distclean maintainer-clean maintainer-check: +all distprep html man install installdirs uninstall clean distclean maintainer-clean: $(MAKE) -C sgml $@ diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index aeade13dff3..50d9203bbe2 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -22,9 +22,9 @@ top_builddir = ../../.. include $(top_builddir)/src/Makefile.global -all: html man +all: check-tabs html man -distprep: html distprep-man +distprep: check-tabs html distprep-man ifndef JADE @@ -301,7 +301,7 @@ MAKEINFO = makeinfo ## # Quick syntax check without style processing -check maintainer-check: postgres.sgml $(ALMOSTALLSGML) check-tabs +check: postgres.sgml $(ALMOSTALLSGML) check-tabs $(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $< -- cgit v1.2.3