Skip to content

Commit 6c0dfc0

Browse files
committed
Add maintainer-check target
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.
1 parent aa6fdd1 commit 6c0dfc0

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

GNUmakefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ $(call recurse,check-world,src/test src/pl src/interfaces/ecpg,check)
6565

6666
$(call recurse,installcheck-world,src/test src/pl src/interfaces/ecpg contrib,installcheck)
6767

68+
$(call recurse,maintainer-check,doc src config contrib)
69+
6870
GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
6971
./config.status $@
7072

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ subdir = doc
1212
top_builddir = ..
1313
include $(top_builddir)/src/Makefile.global
1414

15-
all distprep html man install installdirs uninstall clean distclean maintainer-clean:
15+
all distprep html man install installdirs uninstall clean distclean maintainer-clean maintainer-check:
1616
$(MAKE) -C src $@

doc/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ subdir = doc/src
44
top_builddir = ../..
55
include $(top_builddir)/src/Makefile.global
66

7-
all distprep html man install installdirs uninstall clean distclean maintainer-clean:
7+
all distprep html man install installdirs uninstall clean distclean maintainer-clean maintainer-check:
88
$(MAKE) -C sgml $@

doc/src/sgml/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ MAKEINFO = makeinfo
279279
##
280280

281281
# Quick syntax check without style processing
282-
check: postgres.sgml $(ALMOSTALLSGML) check-tabs
282+
check maintainer-check: postgres.sgml $(ALMOSTALLSGML) check-tabs
283283
$(NSGMLS) $(SPFLAGS) $(SGMLINCLUDE) -s $<
284284

285285

src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
#
1919
# Meta configuration
2020

21-
standard_targets = all install installdirs uninstall distprep clean distclean maintainer-clean coverage check installcheck
21+
standard_targets = all install installdirs uninstall distprep clean distclean maintainer-clean coverage check installcheck maintainer-check
2222

23-
.PHONY: $(standard_targets) install-strip maintainer-check html man installcheck-parallel
23+
.PHONY: $(standard_targets) install-strip html man installcheck-parallel
2424

2525
# make `all' the default target
2626
all:

src/include/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ clean:
6767

6868
distclean maintainer-clean: clean
6969
rm -f pg_config.h dynloader.h pg_config_os.h stamp-h
70+
71+
maintainer-check:
72+
cd catalog && ./duplicate_oids

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy