fix build 2 i hope
This commit is contained in:
parent
14687a0d60
commit
d61222176e
@ -4,10 +4,12 @@ packages:
|
||||
- hut
|
||||
- python3
|
||||
tasks:
|
||||
- generate: |
|
||||
make -C src dist/homepage
|
||||
- package: |
|
||||
make -C src dist/homepage.tar.gz
|
||||
- vocalize: |
|
||||
tar tzf dist/homepage.tar.gz
|
||||
ls -l homepage.tar.gz
|
||||
- upload: |
|
||||
hut pages publish -d trinity.moe dist/homepage.tar.gz
|
||||
hut pages publish -d trinity.moe src/dist/homepage.tar.gz
|
||||
|
10
Makefile
10
Makefile
@ -8,10 +8,12 @@ RM = rm -f
|
||||
all:
|
||||
|
||||
HOMEPAGE_FILES = homepage favicon.ico banners/*
|
||||
dist/homepage.tar.gz:
|
||||
mkdir -p dist/homepage
|
||||
cp $(HOMEPAGE_FILES) dist/homepage
|
||||
cd dist/homepage; sh homepage; cd ../..
|
||||
dist/homepage:
|
||||
mkdir -p dist/homepage.tmp
|
||||
cp $(HOMEPAGE_FILES) dist/homepage.tmp
|
||||
cd dist/homepage.tmp; sh homepage; cd ../..
|
||||
mv dist/homepage.tmp dist/homepage
|
||||
dist/homepage.tar.gz: dist/homepage
|
||||
tar cz -C dist/homepage . >dist/homepage.tar.gz
|
||||
|
||||
# i made this script to fetch icons for my grandmother and put them in icons/
|
||||
|
Loading…
Reference in New Issue
Block a user