divzeroweb

2f30.org website
git clone git://git.2f30.org/divzeroweb
Log | Files | Refs | README | LICENSE

commit 59b58d83cb5714f34b922b2c9a5aac68b2987746
parent bbfc60f1a56b046ba8fc1bb809f6790f6f6812e8
Author: lostd <lostd@2f30.org>
Date:   Wed, 19 Feb 2014 19:22:37 +0200

Separate targets for package and install

Diffstat:
MMakefile | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -36,10 +36,12 @@ all: $(PAGES) markdown $< | cat $(SHEADER) - $(SFOOTER) > $@ rm $(SHEADER) $(SFOOTER) -install: all - tar -cvf $(NAME).tar $(PAGES) $(EXTRA) +package: all + tar -cvzf $(NAME).tar.gz $(PAGES) $(EXTRA) + +install: package mkdir -p $(TARG) - tar -xf $(NAME).tar -C $(TARG) + tar -xzf $(NAME).tar.gz -C $(TARG) clean: rm -f $(PAGES) $(SHEADER) $(SFOOTER) $(NAME).tar index.html