Merge pull request #129 from zhanghaha/master

add uninstall in makefile
This commit is contained in:
oblique 2015-12-13 22:16:03 +02:00
commit 000f6a28e6

View File

@ -1,8 +1,14 @@
all:
@echo "Run 'make install' for installation."
@echo "Run 'make uninstall' for uninstallation."
install:
cp create_ap /usr/bin/create_ap
[ ! -d /lib/systemd/system ] || cp create_ap.service /lib/systemd/system
mkdir -p /usr/share/bash-completion/completions
cp bash_completion /usr/share/bash-completion/completions/create_ap
uninstall:
rm /usr/bin/create_ap
[ ! -f /lib/systemd/system/create_ap.service ] || rm /lib/systemd/system/create_ap.service
rm /usr/share/bash-completion/completions/create_ap