mirror of https://github.com/Syncplay/syncplay
Install the manpages.
This commit is contained in:
parent
e9f7ba9687
commit
520569ca64
12
GNUmakefile
12
GNUmakefile
|
@ -39,6 +39,7 @@ common:
|
||||||
-mkdir -p $(APP_SHORTCUT_PATH)
|
-mkdir -p $(APP_SHORTCUT_PATH)
|
||||||
-mkdir -p $(SHARE_PATH)/pixmaps/
|
-mkdir -p $(SHARE_PATH)/pixmaps/
|
||||||
-mkdir -p $(SHARE_PATH)/icons/
|
-mkdir -p $(SHARE_PATH)/icons/
|
||||||
|
-mkdir -p $(SHARE_PATH)/man/man1/
|
||||||
cp -r syncplay $(LIB_PATH)/syncplay/
|
cp -r syncplay $(LIB_PATH)/syncplay/
|
||||||
chmod 755 $(LIB_PATH)/syncplay/
|
chmod 755 $(LIB_PATH)/syncplay/
|
||||||
cp -r syncplay/resources/hicolor $(SHARE_PATH)/icons/
|
cp -r syncplay/resources/hicolor $(SHARE_PATH)/icons/
|
||||||
|
@ -51,6 +52,7 @@ u-common:
|
||||||
-rm -rf $(LIB_PATH)/syncplay
|
-rm -rf $(LIB_PATH)/syncplay
|
||||||
-rm $(SHARE_PATH)/icons/hicolor/*/apps/syncplay.png
|
-rm $(SHARE_PATH)/icons/hicolor/*/apps/syncplay.png
|
||||||
-rm $(SHARE_PATH)/pixmaps/syncplay.png
|
-rm $(SHARE_PATH)/pixmaps/syncplay.png
|
||||||
|
-rm $(SHARE_PATH)/man/man1/syncplay.1.gz
|
||||||
|
|
||||||
client:
|
client:
|
||||||
-mkdir -p $(BIN_PATH)
|
-mkdir -p $(BIN_PATH)
|
||||||
|
@ -59,6 +61,7 @@ client:
|
||||||
chmod 755 $(BIN_PATH)/syncplay
|
chmod 755 $(BIN_PATH)/syncplay
|
||||||
cp syncplayClient.py $(LIB_PATH)/syncplay/
|
cp syncplayClient.py $(LIB_PATH)/syncplay/
|
||||||
cp syncplay/resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
|
cp syncplay/resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
|
||||||
|
gzip docs/syncplay.1 --stdout > $(SHARE_PATH)/man/man1/syncplay.1.gz
|
||||||
|
|
||||||
ifeq ($(SINGLE_USER),false)
|
ifeq ($(SINGLE_USER),false)
|
||||||
chmod 755 $(APP_SHORTCUT_PATH)/syncplay.desktop
|
chmod 755 $(APP_SHORTCUT_PATH)/syncplay.desktop
|
||||||
|
@ -70,6 +73,7 @@ u-client:
|
||||||
-rm ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/syncplay.lua
|
-rm ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/syncplay.lua
|
||||||
-rm ${DESTDIR}$(VLC_LIB_PATH64)/vlc/lua/intf/syncplay.lua
|
-rm ${DESTDIR}$(VLC_LIB_PATH64)/vlc/lua/intf/syncplay.lua
|
||||||
-rm $(APP_SHORTCUT_PATH)/syncplay.desktop
|
-rm $(APP_SHORTCUT_PATH)/syncplay.desktop
|
||||||
|
-rm $(SHARE_PATH)/man/man1/syncplay.1.gz
|
||||||
|
|
||||||
server:
|
server:
|
||||||
-mkdir -p $(BIN_PATH)
|
-mkdir -p $(BIN_PATH)
|
||||||
|
@ -78,6 +82,7 @@ server:
|
||||||
chmod 755 $(BIN_PATH)/syncplay-server
|
chmod 755 $(BIN_PATH)/syncplay-server
|
||||||
cp syncplayServer.py $(LIB_PATH)/syncplay/
|
cp syncplayServer.py $(LIB_PATH)/syncplay/
|
||||||
cp syncplay/resources/syncplay-server.desktop $(APP_SHORTCUT_PATH)/
|
cp syncplay/resources/syncplay-server.desktop $(APP_SHORTCUT_PATH)/
|
||||||
|
gzip docs/syncplay-server.1 --stdout > $(SHARE_PATH)/man/man1/syncplay-server.1.gz
|
||||||
|
|
||||||
ifeq ($(SINGLE_USER),false)
|
ifeq ($(SINGLE_USER),false)
|
||||||
chmod 755 $(APP_SHORTCUT_PATH)/syncplay-server.desktop
|
chmod 755 $(APP_SHORTCUT_PATH)/syncplay-server.desktop
|
||||||
|
@ -87,7 +92,8 @@ u-server:
|
||||||
-rm $(BIN_PATH)/syncplay-server
|
-rm $(BIN_PATH)/syncplay-server
|
||||||
-rm $(LIB_PATH)/syncplay/syncplayServer.py
|
-rm $(LIB_PATH)/syncplay/syncplayServer.py
|
||||||
-rm $(APP_SHORTCUT_PATH)/syncplay-server.desktop
|
-rm $(APP_SHORTCUT_PATH)/syncplay-server.desktop
|
||||||
|
-rm $(SHARE_PATH)/man/man1/syncplay-server.1.gz
|
||||||
|
|
||||||
warnings:
|
warnings:
|
||||||
ifeq ($(SINGLE_USER),true)
|
ifeq ($(SINGLE_USER),true)
|
||||||
@echo -e "\n**********\n**********\n \nRemeber to add ${HOME}/.local/bin to your \$$PATH with 'echo \"export PATH=\$$PATH:${HOME}/.local/bin\" >> ${HOME}/.profile' \nThis will take effect after you logoff.\n \n**********\n**********\n"
|
@echo -e "\n**********\n**********\n \nRemeber to add ${HOME}/.local/bin to your \$$PATH with 'echo \"export PATH=\$$PATH:${HOME}/.local/bin\" >> ${HOME}/.profile' \nThis will take effect after you logoff.\n \n**********\n**********\n"
|
||||||
|
@ -95,12 +101,12 @@ endif
|
||||||
|
|
||||||
install-client: common client warnings
|
install-client: common client warnings
|
||||||
|
|
||||||
uninstall-client: u-client u-common
|
uninstall-client: u-client u-common
|
||||||
|
|
||||||
install-server: common server warnings
|
install-server: common server warnings
|
||||||
|
|
||||||
uninstall-server: u-server u-common
|
uninstall-server: u-server u-common
|
||||||
|
|
||||||
install: common client server warnings
|
install: common client server warnings
|
||||||
|
|
||||||
uninstall: u-client u-server u-common
|
uninstall: u-client u-server u-common
|
||||||
|
|
Loading…
Reference in New Issue