mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	build: Stop using xmllint to validate protocol files
Same reason as commit cd31275f28b0a04d2ec5426dc81e875197b47e52 from weston:
    The scanner needs to be good enough.  If it crashes or fails to report
    invalid input, that needs to get fixed.
			
			
This commit is contained in:
		
							parent
							
								
									52a77fca57
								
							
						
					
					
						commit
						6292fe2af6
					
				
					 2 changed files with 0 additions and 16 deletions
				
			
		| 
						 | 
					@ -87,9 +87,6 @@ fi
 | 
				
			||||||
AC_PATH_PROG(XSLTPROC, xsltproc)
 | 
					AC_PATH_PROG(XSLTPROC, xsltproc)
 | 
				
			||||||
AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
 | 
					AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AC_PATH_PROG(XMLLINT, xmllint)
 | 
					 | 
				
			||||||
AM_CONDITIONAL([HAVE_XMLLINT], [test "x$XMLLINT" != "x"])
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
AC_MSG_CHECKING([for docbook manpages stylesheet])
 | 
					AC_MSG_CHECKING([for docbook manpages stylesheet])
 | 
				
			||||||
MANPAGES_STYLESHEET=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
 | 
					MANPAGES_STYLESHEET=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
 | 
				
			||||||
AC_PATH_PROGS_FEATURE_CHECK([XSLTPROC_TMP], [xsltproc],
 | 
					AC_PATH_PROGS_FEATURE_CHECK([XSLTPROC_TMP], [xsltproc],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,14 +1 @@
 | 
				
			||||||
dist_pkgdata_DATA = wayland.xml wayland.dtd
 | 
					dist_pkgdata_DATA = wayland.xml wayland.dtd
 | 
				
			||||||
 | 
					 | 
				
			||||||
if HAVE_XMLLINT
 | 
					 | 
				
			||||||
.PHONY: validate
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.%.xml.valid: %.xml
 | 
					 | 
				
			||||||
	$(AM_V_GEN)$(XMLLINT) --noout --dtdvalid $(srcdir)/wayland.dtd $^ > $@
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
validate: .wayland.xml.valid
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
all-local: validate
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
CLEANFILES = .wayland.xml.valid
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue