add makefile
This commit is contained in:
parent
7e55f374d1
commit
1fb3658b81
|
@ -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…
Reference in New Issue