Moved mac stuff into dist/

master
Yevgen Muntyan 2008-08-29 04:39:42 -05:00
parent df5dc02760
commit e6880c2a1c
10 changed files with 19 additions and 12 deletions

View File

@ -79,3 +79,4 @@ win-test-stuff:
cp tests/.libs/run-tests.exe test-stuff/
include dist/win32/Makefile.incl
include dist/mac/Makefile.incl

View File

@ -4,13 +4,13 @@ import os
import sys
import subprocess
files = subprocess.Popen(['hg', 'log', '-r', 'tip', '--template', '{files}'],
files = subprocess.Popen(['hg', 'log', '-r', 'tip', '--template', '{files}'],
stdout=subprocess.PIPE).communicate()[0].split()
status = 0
for name in files:
if not os.path.exists(name) or name.startswith('winbuild/'):
if not os.path.exists(name) or name in ['dist/mac/medit.icns']:
continue
f = open(name, 'rb')
if '\r' in f.read():

15
dist/mac/Makefile.incl vendored Normal file
View File

@ -0,0 +1,15 @@
dist/mac/Info.plist: dist/mac/Info.plist.in
$(SHELL) ./config.status --file=dist/mac/Info.plist && mv dist/mac/Info.plist $(srcdir)/dist/mac/
mac-bundle: dist/mac/Info.plist
ige-mac-bundler $(srcdir)/dist/mac/medit.bundle
mac-clean:
rm -f $(srcdir)/dist/mac/dist/mac/Info.plist
EXTRA_DIST += \
dist/mac/medit.bundle \
dist/mac/Info.plist.in \
dist/mac/gtkrc \
dist/mac/medit.icns \
dist/mac/environment.sh

View File

View File

View File

@ -51,7 +51,7 @@
<!-- Copy in GTK+ and Pango modules. Note the use of the
"${pkg:module:variable}" macro, which evaluates to a pkg-config
variable in the specified module. Note that any libraries that
binaries link to are also copied in automatically.
binaries link to are also copied in automatically.
-->
<binary>${prefix}/lib/gtk-2.0/${pkg:gtk+-2.0:gtk_binary_version}/loaders/*.so</binary>

View File

@ -66,12 +66,3 @@ install-data-hook:
uninstall-hook:
if echo "Updating icon cache" && $(update_icon_cache); then echo "Done."; else echo "Failed."; fi
endif
bundle:
ige-mac-bundler $(srcdir)/mac/medit.bundle
EXTRA_DIST += \
mac/medit.bundle \
mac/Info.plist.in \
mac/gtkrc \
mac/medit.icns \
mac/environment.sh