Makefile - build site archive without root directory

This commit is contained in:
Nathan Fisher 2021-02-20 09:16:12 -05:00
parent 4b58f24c6b
commit e1303c4aab

View File

@ -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