Fix Linux build for git layout

This commit is contained in:
Jens Ayton 2013-05-11 23:56:28 +02:00
parent 52dff6239c
commit e3256a1b2a
2 changed files with 21 additions and 3 deletions

10
.gitignore vendored
View File

@ -7,7 +7,6 @@ ehthumbs.db
Icon?
# Xcode cruft
build/
project.xcworkspace/
xcuserdata/
*.mode1
@ -17,3 +16,12 @@ xcuserdata/
# Used for downloaded code
deps/Cocoa-deps/sparkle
# Build products
build/
oolite.app
obj.spk
DebugOXP/requires.plist
AddOns/

View File

@ -26,7 +26,17 @@ PROGDIR=$(OBJC_PROGRAM_NAME).app
after-all::
$(MKDIRS) $(PROGDIR)
$(MKDIRS) $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources $(PROGDIR)
$(CP) $(CP_FLAGS) Resources/README.TXT $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/InfoPlist.strings $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/AIs $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Config $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Scripts $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Shaders $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Images $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Models $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Music $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Sounds $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/Binary/Textures $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Schemata $(PROGDIR)/Resources
ifeq ($(ESPEAK),yes)
ifeq ($(GNUSTEP_HOST_OS),mingw32)