mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-10-29 05:40:16 -04:00 
			
		
		
		
	 b88ada0760
			
		
	
	
		b88ada0760
		
	
	
	
	
		
			
			When input/output files are passed as arguments to wayland-scanner, instead of using stdin/stdout, warning and error messages will contain the file name, together with line number, of the warning/error. Doing this helps IDEs jump to the correct line. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> [Pekka: dropped the src/scanner.mk hunk, file deleted] Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			292 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| %-protocol.c : $(wayland_protocoldir)/%.xml
 | |
| 	$(AM_V_GEN)$(wayland_scanner) code $< $@
 | |
| 
 | |
| %-server-protocol.h : $(wayland_protocoldir)/%.xml
 | |
| 	$(AM_V_GEN)$(wayland_scanner) server-header $< $@
 | |
| 
 | |
| %-client-protocol.h : $(wayland_protocoldir)/%.xml
 | |
| 	$(AM_V_GEN)$(wayland_scanner) client-header $< $@
 |