summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3aaef4a..dfdafc0 100644
--- a/Makefile
+++ b/Makefile
@@ -17,13 +17,18 @@ clean:
install: plop
mkdir -p $(PREFIX)/bin
mkdir -p $(PREFIX)/share/man/man1
+ mkdir -p $(PREFIX)/share/plop
cp -f plop $(PREFIX)/bin
cp -f plop.1 $(PREFIX)/share/man/man1
+ cp -f default.lua $(PREFIX)/share/plop
chmod 755 $(PREFIX)/bin/plop
chmod 644 $(PREFIX)/share/man/man1/plop.1
+ chmod 644 $(PREFIX)/share/plop/default.lua
uninstall:
rm -f $(PREFIX)/bin/plop
rm -f $(PREFIX)/share/man/man1/plop.1
+ rm -f $(PREFIX)/share/plop/default.lua
+ rmdir --ignore-fail-on-non-empty $(PREFIX)/share/plop
.PHONY: clean install uninstall