Skip to content

Commit 8120665

Browse files
committed
Follow-up to 5b2453a, update Makefile for local builds
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 357229c commit 8120665

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

Makefile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,7 @@ docker-run: docker-build
6565
demo
6666

6767
appimage: $(TARGET)
68-
@echo "Creating AppImage..."
69-
@mkdir -p AppDir/usr/bin
70-
@mkdir -p AppDir/usr/share/applications
71-
@mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
72-
@cp $(TARGET) AppDir/usr/bin/
73-
@printf '[Desktop Entry]\nType=Application\nName=Infix Demo\nExec=usr/bin/demo\nIcon=demo\nCategories=Game;\n' > AppDir/usr/share/applications/demo.desktop
74-
@cp jack.png AppDir/usr/share/icons/hicolor/256x256/apps/demo.png
75-
@ln -sf usr/share/applications/demo.desktop AppDir/demo.desktop
76-
@ln -sf usr/share/icons/hicolor/256x256/apps/demo.png AppDir/demo.png
77-
@ln -sf usr/bin/demo AppDir/AppRun
7868
@ARCH=$${ARCH:-x86_64}; \
79-
wget -q -c https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-$${ARCH}.AppImage -O appimagetool && \
80-
chmod +x appimagetool && \
81-
./appimagetool AppDir InfixDemo-$${ARCH}.AppImage && \
82-
rm -rf AppDir appimagetool && \
83-
echo "AppImage created: InfixDemo-$${ARCH}.AppImage"
69+
./utils/build-appimage.sh $${ARCH}
8470

8571
.PHONY: all clean run debug appimage docker-build docker-run

0 commit comments

Comments
 (0)