Skip to content

Commit

Permalink
Set correct executable paths when installing *.desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
rnpnr authored and Screwtapello committed Sep 11, 2020
1 parent 5e53d63 commit c4e5054
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion byuu/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ else ifneq ($(filter $(platform),linux bsd),)
mkdir -p $(prefix)/share/icons/
mkdir -p $(prefix)/share/$(name)/
cp $(output.path)/$(name) $(prefix)/bin/$(name)
cp resource/$(name).desktop $(prefix)/share/applications/$(name).desktop
sed "/^Exec/s:$(name):$(prefix)/bin/$(name):" resource/$(name).desktop >$(prefix)/share/applications/$(name).desktop
cp resource/$(name).png $(prefix)/share/icons/$(name).png
endif

Expand Down
2 changes: 1 addition & 1 deletion higan-ui/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ else ifneq ($(filter $(platform),linux bsd),)
mkdir -p $(prefix)/share/$(name)/
cp $(output.path)/$(name) $(prefix)/bin/$(name)
cp -R $(higan.path)/System/* $(prefix)/share/$(name)/
cp resource/$(name).desktop $(prefix)/share/applications/$(name).desktop
sed "/^Exec/s:$(name):$(prefix)/bin/$(name):" resource/$(name).desktop >$(prefix)/share/applications/$(name).desktop
cp resource/$(name).png $(prefix)/share/icons/$(name).png
endif

Expand Down
2 changes: 1 addition & 1 deletion icarus/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else ifneq ($(filter $(platform),linux bsd),)
mkdir -p $(prefix)/share/$(name)/Database/
mkdir -p $(prefix)/share/$(name)/Firmware/
cp $(output.path)/$(name) $(prefix)/bin/$(name)
cp resource/$(name).desktop $(prefix)/share/applications/$(name).desktop
sed "/^Exec/s:$(name):$(prefix)/bin/$(name):" resource/$(name).desktop >$(prefix)/share/applications/$(name).desktop
cp resource/$(name).png $(prefix)/share/icons/$(name).png
cp -R Database/* $(prefix)/share/$(name)/Database/
cp -R Firmware/* $(prefix)/share/$(name)/Firmware/
Expand Down

0 comments on commit c4e5054

Please sign in to comment.