[Scummvm-git-logs] scummvm master -> cc721bced5d93024fed62822d8dbded5c85d4056

bgK bastien.bouclet at gmail.com
Mon Nov 4 09:00:07 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
cc721bced5 3DS: Add a make rule for a distributable package


Commit: cc721bced5d93024fed62822d8dbded5c85d4056
    https://github.com/scummvm/scummvm/commit/cc721bced5d93024fed62822d8dbded5c85d4056
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2019-11-04T08:59:23+01:00

Commit Message:
3DS: Add a make rule for a distributable package

Changed paths:
    backends/platform/3ds/3ds.mk


diff --git a/backends/platform/3ds/3ds.mk b/backends/platform/3ds/3ds.mk
index c6aff90..136e984 100644
--- a/backends/platform/3ds/3ds.mk
+++ b/backends/platform/3ds/3ds.mk
@@ -14,7 +14,7 @@ CXXFLAGS += -std=gnu++11
 ASFLAGS  += -mfloat-abi=hard
 LDFLAGS  += -specs=3dsx.specs $(ARCH) -L$(DEVKITPRO)/libctru/lib -L$(DEVKITPRO)/portlibs/3ds/lib
 
-.PHONY: clean_3ds
+.PHONY: clean_3ds dist_3ds
 
 clean: clean_3ds
 
@@ -26,6 +26,7 @@ clean_3ds:
 	$(RM) $(TARGET).bnr
 	$(RM) $(TARGET).cia
 	$(RM) -rf romfs
+	$(RM) -rf dist_3ds
 
 romfs: $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) $(DIST_FILES_NETWORKING) $(DIST_FILES_VKEYBD) $(DIST_3DS_EXTRA_FILES)
 	@rm -rf romfs
@@ -60,6 +61,14 @@ $(TARGET).cia: $(EXECUTABLE) $(APP_RSF) $(TARGET).smdh $(TARGET).bnr romfs
 	@makerom -f cia -target t -exefslogo -o $@ -elf $(EXECUTABLE) -rsf $(APP_RSF) -banner $(TARGET).bnr -icon $(TARGET).smdh -DAPP_ROMFS=romfs/
 	@echo built ... $(notdir $@)
 
+dist_3ds: $(TARGET).cia $(TARGET).3dsx $(DIST_FILES_DOCS)
+	@rm -rf dist_3ds
+	@mkdir -p dist_3ds
+	@cp $(TARGET).3dsx $(TARGET).cia dist_3ds/
+	@cp $(DIST_FILES_DOCS) dist_3ds/
+	@cp $(srcdir)/backends/platform/3ds/README.md dist_3ds/README-3DS.md
+	@echo built ... $(notdir $@)
+
 #---------------------------------------------------------------------------------
 # rules for assembling GPU shaders
 #---------------------------------------------------------------------------------





More information about the Scummvm-git-logs mailing list