Skip to content

Commit

Permalink
Only strip the correct file on install
Browse files Browse the repository at this point in the history
  • Loading branch information
ISSOtm committed Jul 4, 2024
1 parent 8e2769b commit 64d45dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,10 @@ libretro:
ifneq ($(FREEDESKTOP),)
install: $(BIN)/XdgThumbnailer/sameboy-thumbnailer sdl $(shell find FreeDesktop)
install -Dm 644 -st $(DESTDIR)$(PREFIX)/bin/ $<
install -Dm 644 -st $(DESTDIR)$(DATA_DIR)/ $(BIN)/SDL/*
install -Dm 644 -t $(DESTDIR)$(DATA_DIR)/ $(BIN)/SDL/*
mv $(DESTDIR)$(DATA_DIR)/sameboy $(DESTDIR)$(PREFIX)/bin/sameboy
chmod +x $(DESTDIR)$(PREFIX)/bin/sameboy
strip $(DESTDIR)$(PREFIX)/bin/sameboy
ifeq ($(DESTDIR),)
xdg-mime install --novendor FreeDesktop/sameboy.xml
xdg-desktop-menu install --novendor FreeDesktop/sameboy.desktop
Expand Down

0 comments on commit 64d45dd

Please sign in to comment.