bring back install-shortcuts and add install-startup-scripts
This commit is contained in:
10
Makefile
10
Makefile
@@ -19,7 +19,7 @@
|
|||||||
# make [prefix=/foo] [bindir=/bar/bin] install-all
|
# make [prefix=/foo] [bindir=/bar/bin] install-all
|
||||||
#
|
#
|
||||||
# to install Linux desktop files and icons:
|
# to install Linux desktop files and icons:
|
||||||
# make install-shortcuts
|
# make install-startup-scripts
|
||||||
#
|
#
|
||||||
# to uninstall, run:
|
# to uninstall, run:
|
||||||
# make uninstall
|
# make uninstall
|
||||||
@@ -294,7 +294,9 @@ docs: utility
|
|||||||
|
|
||||||
install: install-core
|
install: install-core
|
||||||
|
|
||||||
install-all: install-core install-tools install-icons install-desktop install-shortcuts
|
install-all: install-core install-tools install-startup-scripts
|
||||||
|
|
||||||
|
install-shortcuts: install-icons install-desktop
|
||||||
|
|
||||||
install-core: default
|
install-core: default
|
||||||
@-echo "Installing OpenRA to $(DATA_INSTALL_DIR)"
|
@-echo "Installing OpenRA to $(DATA_INSTALL_DIR)"
|
||||||
@@ -350,7 +352,7 @@ install-desktop:
|
|||||||
@$(INSTALL_DATA) packaging/linux/openra.desktop "$(DESTDIR)$(datadir)/applications"
|
@$(INSTALL_DATA) packaging/linux/openra.desktop "$(DESTDIR)$(datadir)/applications"
|
||||||
@$(INSTALL_DATA) packaging/linux/openra-editor.desktop "$(DESTDIR)$(datadir)/applications"
|
@$(INSTALL_DATA) packaging/linux/openra-editor.desktop "$(DESTDIR)$(datadir)/applications"
|
||||||
|
|
||||||
install-shortcuts:
|
install-startup-scripts:
|
||||||
@echo "#!/bin/sh" > openra
|
@echo "#!/bin/sh" > openra
|
||||||
@echo 'BINDIR=$$(dirname $$(readlink -f $$0))' >> openra
|
@echo 'BINDIR=$$(dirname $$(readlink -f $$0))' >> openra
|
||||||
@echo 'ROOTDIR="$${BINDIR%'"$(bindir)"'}"' >> openra
|
@echo 'ROOTDIR="$${BINDIR%'"$(bindir)"'}"' >> openra
|
||||||
@@ -405,7 +407,7 @@ help:
|
|||||||
@echo \ \ make \[prefix=/foo\] \[bindir=/bar/bin\] install-all
|
@echo \ \ make \[prefix=/foo\] \[bindir=/bar/bin\] install-all
|
||||||
@echo
|
@echo
|
||||||
@echo to install Linux desktop files and icons
|
@echo to install Linux desktop files and icons
|
||||||
@echo \ \ make install-shortcuts
|
@echo \ \ make install-startup-scripts
|
||||||
@echo
|
@echo
|
||||||
@echo to uninstall, run:
|
@echo to uninstall, run:
|
||||||
@echo \ \ make uninstall
|
@echo \ \ make uninstall
|
||||||
|
|||||||
Reference in New Issue
Block a user