Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c0dfc0

Browse files
committed
Add maintainer-check target
This can do various source code checks that are not appropriate foreither the build or the regression tests. Currently: duplicate_oids,SGML syntax and tabs check, NLS syntax check.
1 parentaa6fdd1 commit6c0dfc0

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-
alldistprephtmlmaninstallinstalldirsuninstallcleandistcleanmaintainer-clean:
15+
alldistprephtmlmaninstallinstalldirsuninstallcleandistcleanmaintainer-cleanmaintainer-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-
alldistprephtmlmaninstallinstalldirsuninstallcleandistcleanmaintainer-clean:
7+
alldistprephtmlmaninstallinstalldirsuninstallcleandistcleanmaintainer-cleanmaintainer-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+
checkmaintainer-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-stripmaintainer-checkhtml 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
distcleanmaintainer-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)

[8]ページ先頭

©2009-2025 Movatter.jp