Makefile - build site archive without root directory
This commit is contained in:
parent
4b58f24c6b
commit
e1303c4aab
4
Makefile
4
Makefile
@ -2,12 +2,12 @@ subdirs += hhl
|
|||||||
subdirs += handbook
|
subdirs += handbook
|
||||||
|
|
||||||
site.txz: $(subdirs)
|
site.txz: $(subdirs)
|
||||||
tar cJf $@ site
|
cd site && tar -cJf ../$@ *
|
||||||
|
|
||||||
$(subdirs):
|
$(subdirs):
|
||||||
$(MAKE) -C $@
|
$(MAKE) -C $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf site
|
rm -rf site site.txz
|
||||||
|
|
||||||
.PHONY: $(subdirs) clean
|
.PHONY: $(subdirs) clean
|
||||||
|
Loading…
Reference in New Issue
Block a user