1SubDir HAIKU_TOP src data settings tracker_new_templates ; 2 3 4rule PrepareTrackerNewTemplates source : mimeType 5{ 6 local source = [ FGristFiles $(source) ] ; 7 local target = $(source:G=tracker-new-templates) ; 8 MakeLocateCommonPlatform $(target) ; 9 File $(target) : $(source) ; 10 TARGET_EXECUTABLE_MIME_TYPE on $(target) = $(mimeType) ; 11 SetType $(target) ; 12} 13 14 15PrepareTrackerNewTemplates "C++ header" : text/x-source-code ; 16PrepareTrackerNewTemplates "C++ source" : text/x-source-code ; 17PrepareTrackerNewTemplates "makefile" : text/x-makefile ; 18PrepareTrackerNewTemplates "text file" : text/plain ; 19