Update makefile to properly place icon file

This commit is contained in:
turtleletortue 2019-09-02 12:47:58 -04:00 committed by GitHub
parent d90b27ab56
commit f42bea8f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ $(OBJ_CP) : %.o : %.cpp
# Big thanks to pingflood for this ipk code! # Big thanks to pingflood for this ipk code!
ipk: $(BUILD) $(TARGET) ipk: $(BUILD) $(TARGET)
@rm -rf /tmp/.potator-ipk/ && mkdir -p /tmp/.potator-ipk/root/home/retrofw/emus/potator /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators.systems @rm -rf /tmp/.potator-ipk/ && mkdir -p /tmp/.potator-ipk/root/home/retrofw/emus/potator /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators.systems
@cp -r potator.dge distrib/potator/icon.png /tmp/.potator-ipk/root/home/retrofw/emus/potator @cp -r potator.dge distrib/potator/potator.png /tmp/.potator-ipk/root/home/retrofw/emus/potator
@cp distrib/potator/potator.lnk /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators @cp distrib/potator/potator.lnk /tmp/.potator-ipk/root/home/retrofw/apps/gmenu2x/sections/emulators
@sed "s/^Version:.*/Version: $$(date +%Y%m%d)/" ipkfiles/control > /tmp/.potator-ipk/control @sed "s/^Version:.*/Version: $$(date +%Y%m%d)/" ipkfiles/control > /tmp/.potator-ipk/control
@cp ipkfiles/conffiles /tmp/.potator-ipk/ @cp ipkfiles/conffiles /tmp/.potator-ipk/