enable jade warnings

Поиск
Список
Период
Сортировка
От Neil Conway
Тема enable jade warnings
Дата
Msg-id 40421557.5040505@samurai.com
обсуждение исходный текст
Ответы Re: enable jade warnings  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Attached is a crude patch to enable some additional jade/openjade
warnings. This should help us catch improper or ill-advised SGML in
the docs.

I disabled the warning for empty tags, as they are used throughout the
SGML docs and there is no point in getting rid of them. I also
disabled the warning for unused parameter types, as that triggers a
warning in a system DTD on my machine.

Unless anyone objects, I'll apply this within 24 hours.

-Neil
Index: doc/src/sgml/Makefile
===================================================================
RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/Makefile,v
retrieving revision 1.64
diff -c -r1.64 Makefile
*** a/doc/src/sgml/Makefile    15 Jan 2004 23:51:32 -0000    1.64
--- b/doc/src/sgml/Makefile    29 Feb 2004 16:35:07 -0000
***************
*** 58,63 ****
--- 58,65 ----
  override JADEFLAGS += -V draft-mode
  endif

+ # Enable some extra jade warnings
+ override JADEFLAGS += -wall -wno-unused-param -wno-empty

  ##
  ## Man pages
***************
*** 220,226 ****

  # Quick syntax check without style processing
  check: postgres.sgml $(ALLSGML)
!     $(NSGMLS) $(SGMLINCLUDE) -s $<


  ##
--- 222,228 ----

  # Quick syntax check without style processing
  check: postgres.sgml $(ALLSGML)
!     $(NSGMLS) -wall -wno-empty -wno-unused-param $(SGMLINCLUDE) -s $<


  ##

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Docs slightly broken
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: enable jade warnings