Merge pull request #371 from Jan200101/patch-1
Correct usage of PREFIX with DATA_DIR
This commit is contained in:
commit
9314bcf98d
2
Makefile
2
Makefile
@ -441,7 +441,7 @@ install: sdl $(DESTDIR)$(PREFIX)/share/mime/packages/sameboy.xml $(ICONS) FreeDe
|
|||||||
-@$(MKDIR) -p $(dir $(DESTDIR)$(PREFIX))
|
-@$(MKDIR) -p $(dir $(DESTDIR)$(PREFIX))
|
||||||
mkdir -p $(DESTDIR)$(DATA_DIR)/ $(DESTDIR)$(PREFIX)/bin/
|
mkdir -p $(DESTDIR)$(DATA_DIR)/ $(DESTDIR)$(PREFIX)/bin/
|
||||||
cp -rf $(BIN)/SDL/* $(DESTDIR)$(DATA_DIR)/
|
cp -rf $(BIN)/SDL/* $(DESTDIR)$(DATA_DIR)/
|
||||||
mv $(DESTDIR)$(PREFIX)$(DATA_DIR)/sameboy $(DESTDIR)$(PREFIX)/bin/sameboy
|
mv $(DESTDIR)$(DATA_DIR)/sameboy $(DESTDIR)$(PREFIX)/bin/sameboy
|
||||||
ifeq ($(DESTDIR),)
|
ifeq ($(DESTDIR),)
|
||||||
-update-mime-database -n $(PREFIX)/share/mime
|
-update-mime-database -n $(PREFIX)/share/mime
|
||||||
-xdg-desktop-menu install --novendor --mode system FreeDesktop/sameboy.desktop
|
-xdg-desktop-menu install --novendor --mode system FreeDesktop/sameboy.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user