Use @basename@ in enumeration type templates
The @filename@ directive will use the full path of the file being parsed for enumeration types; we should use @basename@, instead, as it improves the reproducibility of the build by using only the file name. Backport of 4040f76529bbf6d3310a71df2d37c9d95af83892 from main.
This commit is contained in:
		@ -5,7 +5,7 @@
 | 
				
			|||||||
/*** END file-header ***/
 | 
					/*** END file-header ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN file-production ***/
 | 
					/*** BEGIN file-production ***/
 | 
				
			||||||
/* enumerations from "@filename@" */
 | 
					/* enumerations from "@basename@" */
 | 
				
			||||||
/*** END file-production ***/
 | 
					/*** END file-production ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN value-header ***/
 | 
					/*** BEGIN value-header ***/
 | 
				
			||||||
 | 
				
			|||||||
@ -7,7 +7,7 @@
 | 
				
			|||||||
/*** END file-header ***/
 | 
					/*** END file-header ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN file-production ***/
 | 
					/*** BEGIN file-production ***/
 | 
				
			||||||
/* enumerations from "@filename@" */
 | 
					/* enumerations from "@basename@" */
 | 
				
			||||||
/*** END file-production ***/
 | 
					/*** END file-production ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN value-header ***/
 | 
					/*** BEGIN value-header ***/
 | 
				
			||||||
 | 
				
			|||||||
@ -14,7 +14,7 @@ G_BEGIN_DECLS
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/*** BEGIN file-production ***/
 | 
					/*** BEGIN file-production ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* enumerations from "@filename@" */
 | 
					/* enumerations from "@basename@" */
 | 
				
			||||||
/*** END file-production ***/
 | 
					/*** END file-production ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN value-header ***/
 | 
					/*** BEGIN value-header ***/
 | 
				
			||||||
 | 
				
			|||||||
@ -6,7 +6,7 @@
 | 
				
			|||||||
/*** END file-header ***/
 | 
					/*** END file-header ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN file-production ***/
 | 
					/*** BEGIN file-production ***/
 | 
				
			||||||
/* enumerations from "@filename@" */
 | 
					/* enumerations from "@basename@" */
 | 
				
			||||||
/*** END file-production ***/
 | 
					/*** END file-production ***/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*** BEGIN value-header ***/
 | 
					/*** BEGIN value-header ***/
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user