monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 6818c3b4d1b862a8a009e97676f8e30f335ae5b2
parent 3f60c0bd4ad4e39651db5f5f5f07fbf9424a6ab0
Author: z3bra <contactatz3bradotorg>
Date:   Thu,  6 Jul 2017 13:07:32 +0200

Simplify makefile

Diffstat:
Makefile | 13++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,22 +1,21 @@ include config.mk -.PHONY: all package check clean +.PHONY: all check clean all: $(PAGES) $(FEEDS) $(EXTRA) -package: all - tar -cvzf $(NAME).tar.gz $(PAGES) $(EXTRA) $(FEEDS) +$(NAME).tbz: all + tar -cvjf $(NAME).tar.gz $(PAGES) $(EXTRA) $(FEEDS) - -install: package +install: $(NAME).tbz mkdir -p $(PREFIX) - tar -xzf $(NAME).tar.gz -C $(PREFIX) + tar -xjf $(NAME).tbz -C $(PREFIX) check: $(PAGES) @./check.sh clean: - rm -f $(PAGES) $(FEEDS) $(NAME).tar.gz + rm -f $(PAGES) $(FEEDS) $(NAME).tbz .SUFFIXES: .txt .html .xml