summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index af212e4..13e6d79 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ SHAREDIR = $(PREFIX)/share
LOCALEDIR = $(SHAREDIR)/locale
MANDIR = $(SHAREDIR)/man
DOCDIR = $(SHAREDIR)/doc/$(NAME)
+HTMLDIR = $(SHAREDIR)/html/$(NAME)
EXEC = ./
## Where to store the installation. Empty by default.
DESTDIR =
@@ -150,7 +151,7 @@ install: all
'$(DESTDIR)$(SRCDIR)' \
for f in $(contents) $(static-contents) `cat $(sources.snippets)`; do \
- dir='$(DESTDIR)$(DOCDIR)'/"`dirname "$${f#src/content/}"`"; \
+ dir='$(DESTDIR)$(HTMLDIR)'/"`dirname "$${f#src/content/}"`"; \
mkdir -p "$$dir"; \
cp -P "$$f" "$$dir"; \
done
@@ -166,14 +167,14 @@ install: all
uninstall:
rm -rf \
'$(DESTDIR)$(SRCDIR)' \
- '$(DESTDIR)$(DOCDIR)' \
+ '$(DESTDIR)$(HTMLDIR)' \
PORT = 3333
## Run it locally.
run:
- serve -n -p $(PORT) -d '$(DESTDIR)$(DOCDIR)'
+ serve -n -p $(PORT) -d '$(DESTDIR)$(HTMLDIR)'
ALWAYS: