This commit is contained in:
dtb 2022-12-24 19:53:29 -05:00
parent c6cb7696c7
commit 6cbece0716
2 changed files with 11 additions and 8 deletions

View File

@ -4,10 +4,16 @@ packages:
- hut
- m4
tasks:
- package: |
- build: |
cd wiki
make
tar cvz --exclude .git --exclude '*.m4' . >../site.tar.gz
- package: |
cd wiki
tar cvz \
--exclude .git \
--exclude '*.m4' \
--exclude '*.mk' \
. >../site.tar.gz
ls -l ../site.tar.gz
- upload: |
hut pages publish -d be.murderu.us site.tar.gz

View File

@ -3,13 +3,10 @@ TARGETS = game/index.html unix/index.html
all: $(TARGETS)
game/index.html: game/*.m4
$(MAKE) -f ../page.mk -C game
unix/index.html: unix/*.m4
$(MAKE) -f ../page.mk -C unix
clean:
$(RM) $(TARGETS)
%/index.html: %/*.m4
$(MAKE) -C $* -f ../page.mk
.PHONY: all clean