From e1303c4aab95e35a61c156c6062eb22a2c1ec494 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Sat, 20 Feb 2021 09:16:12 -0500 Subject: [PATCH] Makefile - build site archive without root directory --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 65d67a6..1a22c6b 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,12 @@ subdirs += hhl subdirs += handbook site.txz: $(subdirs) - tar cJf $@ site + cd site && tar -cJf ../$@ * $(subdirs): $(MAKE) -C $@ clean: - rm -rf site + rm -rf site site.txz .PHONY: $(subdirs) clean