summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaan Bhojwani <me@armaanb.net>2021-06-10 19:31:31 -0400
committerArmaan Bhojwani <me@armaanb.net>2021-06-10 19:43:47 -0400
commit57ebcd51d9a3644f1bba1b19a5c9d09827d7bc3c (patch)
tree550cf39dd42a4d3696d11194bb60a81e932814c7
parent9aae9b3cada4a84b4839cfc80bf20208076a6cd1 (diff)
downloadchorizo-57ebcd51d9a3644f1bba1b19a5c9d09827d7bc3c.tar.gz
Fix makefile
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 42185bb..829a038 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,11 @@
CFLAGS += -Wall -Wextra -Wno-unused-parameter -O3
-prefix = /usr/local
-exec_prefix = $(prefix)
-bindir = $(DESTDIR)$(exec_prefix)/bin
-libdir = $(DESTDIR)$(exec_prefix)/lib
-datadir = $(DESTDIR)$(prefix)/share
-mandir = $(DESTDIR)$(datadir)/man
-docdir = $(DESTDIR)$(datadir)/doc
+PREFIX = /usr/local
+bindir = $(DESTDIR)$(PREFIX)/bin
+libdir = $(DESTDIR)$(PREFIX)/lib
+datadir = $(DESTDIR)$(PREFIX)/share
+mandir = $(datadir)/man
+docdir = $(datadir)/doc
.PHONY: man clean uninstall install extensions
@@ -38,7 +37,8 @@ extensions:
install: all
mkdir -p $(bindir) \
- $(mandir) \
+ $(mandir)/man1 \
+ $(mandir)/man5 \
$(libdir)/chorizo/web_extensions \
$(datadir)/chorizo/user-scripts \
$(datadir)/applications \