mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Improve ctags invocation in Makefile
Adding .function was necessary, as otherwise ctags would have no idea what to do with those files. Adding .h may not be necessary, as by default ctags considers them C++ which is probably good enough, but since we're tuning the mapping anyway... Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
		
							parent
							
								
									65cc9a2e68
								
							
						
					
					
						commit
						9039dc401f
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -125,7 +125,7 @@ endif
 | 
			
		||||
## Editor navigation files
 | 
			
		||||
C_SOURCE_FILES = $(wildcard include/*/*.h library/*.[hc] programs/*/*.[hc] tests/suites/*.function)
 | 
			
		||||
tags: $(C_SOURCE_FILES)
 | 
			
		||||
	ctags -o $@ $(C_SOURCE_FILES)
 | 
			
		||||
	ctags -o $@ --langmap=c:+.h.function $(C_SOURCE_FILES)
 | 
			
		||||
TAGS: $(C_SOURCE_FILES)
 | 
			
		||||
	etags -o $@ $(C_SOURCE_FILES)
 | 
			
		||||
GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user