mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 16:45:13 +02:00
add makefile
This commit is contained in:
parent
7e55f374d1
commit
1fb3658b81
19
makefile
Normal file
19
makefile
Normal file
@ -0,0 +1,19 @@
|
||||
default:
|
||||
|
||||
|
||||
all: default
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/usr/share/cockpit/
|
||||
cp -rf navigator $(DESTDIR)/usr/share/cockpit
|
||||
|
||||
uninstall:
|
||||
rm -rf $(DESTDIR)/usr/share/cockpit/samba-manager
|
||||
|
||||
install-local:
|
||||
mkdir -p $(HOME)/.local/share/cockpit
|
||||
cp -rf navigator $(HOME)/.local/share/cockpit
|
||||
sed -i "s#/usr/share/\(cockpit/navigator/scripts/.*\$\)#$(HOME)/.local/share/\1#" $(HOME)/.local/share/cockpit/navigator/navigator.js
|
||||
|
||||
make uninstall-local:
|
||||
rm -rf $(HOME)/.local/share/cockpit/navigator
|
Loading…
x
Reference in New Issue
Block a user