changeset 510:191017f4ebde

more macos installer prune and stripping tweaks.
author hanwen <hanwen@xs4all.nl>
date Sat, 31 Dec 2005 02:34:45 +0100
parents 76d4604ef8e4
children 0bee06f8bca8
files specs/installer.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/specs/installer.py	Sat Dec 31 02:20:07 2005 +0100
+++ b/specs/installer.py	Sat Dec 31 02:34:45 2005 +0100
@@ -10,7 +10,7 @@
 		context.Os_context_wrapper.__init__ (self, settings)
 		
 		self.settings = settings
-		self.strip_command = self.settings.target_architecture + "-strip"
+		self.strip_command = '%(tooldir)s/bin/%(target_architecture)s-strip' 
 		self.no_binary_strip = []
 
 	@context.subst_method
@@ -106,6 +106,7 @@
 			'share/lilypond/*/fonts/tfm',
 			'share/lilypond/*/fonts/type1/feta[0-9]*pfa',
 			'share/lilypond/*/fonts/type1/feta-braces-[a-z]*pfa',
+			'share/lilypond/*/fonts/type1/parmesan*pfa',
 			'share/locale',
 			'share/omf',
 			'share/gs/fonts/[a-bd-z]*',
@@ -114,6 +115,8 @@
 			):
 
 			self.system ('cd %(installer_root)s && rm -rf ' + delete_me, {'i': i })
+		self.system ('cd %(installer_root)s/usr/share/lilypond/*/fonts/type1 && rm fonts.cache-1 &&  fc-cache')
+		self.system ('cd %(installer_root)s/usr/share/lilypond/*/fonts/otf &&  rm fonts.cache-1 && fc-cache')
 
 	def strip_binary_file (self, file):
 		self.system ('%(strip_command)s %(file)s', locals (), ignore_error = True)