tChange default WWW directory and make Makefile stricter - monochromatic - monochromatic blog: http://blog.z3bra.org
(HTM) git clone git://z3bra.org/monochromatic
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit cf32c0aaa804407fd027d0bf82c4da2d7a26959c
(DIR) parent b818eeaf37ad6bb2afa9d9c01cb5c0b1ef538f44
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Sun, 30 Aug 2015 18:34:01 +0000
Change default WWW directory and make Makefile stricter
Diffstat:
M Makefile | 3 +--
M config.mk | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -11,7 +11,6 @@ package: all
install: package
mkdir -p $(PREFIX)
tar -xzf $(NAME).tar.gz -C $(PREFIX)
- chown -R $(USER):http $(PREFIX)
check: $(PAGES)
@check.sh
t@@ -25,7 +24,7 @@ HEADER = head.html
FOOTER = foot.html
$(FEEDS): index.txt
- feeds.sh $< > $@
+ ./feeds.sh $< > $@
.txt.html: $(HEADER) $(FOOTER)
@echo "MARKDOWN `basename $@`"
(DIR) diff --git a/config.mk b/config.mk
t@@ -1,7 +1,7 @@
MD =/usr/bin/markdown
NAME = monochromatic
-PREFIX = /var/www/http/blog.z3bra.org
+PREFIX = /var/http/blog.z3bra.org
PAGES = index.html \
about.html \