1
0

Makefile build system

This commit is contained in:
dtb 2022-08-31 10:05:55 -04:00
parent 6fcd1f2c31
commit de8302e5d8
4 changed files with 68 additions and 18 deletions

View File

@ -6,7 +6,7 @@ packages:
tasks: tasks:
- package: | - package: |
cd homepage cd homepage
m4 index.m4 >index.html make
tar -cvz --exclude .git --exclude '*.m4' . >../site.tar.gz tar -cvz --exclude .git --exclude '*.m4' . >../site.tar.gz
ls -l ../site.tar.gz ls -l ../site.tar.gz
- upload: | - upload: |

26
homepage/Makefile Normal file
View File

@ -0,0 +1,26 @@
.POSIX:
generate: index css
index: \
index.m4 \
announcement.m4 \
contact.m4 \
extensions.m4 \
faq.m4 \
gear.m4 \
head.m4 \
navigation.m4 \
now.m4 \
praise.m4 \
privacy.m4 \
services.m4 \
stickers.m4 \
trinitisms.m4 \
zelda.m4
m4 index.m4 >index.html
css: head.m4 css/index.m4
make -C css
.PHONY: generate

2
homepage/css/Makefile Normal file
View File

@ -0,0 +1,2 @@
css: index.m4 ../head.m4
m4 index.m4 >index.html

View File

@ -1,9 +1,9 @@
define(`_PAGE', `') define(`_PAGE', `')dnl
define(`_TITLE', `trinity dot moe') define(`_TITLE', `trinity dot moe')dnl
define(`_DESCRIPTION', `trinity`'s personal website') define(`_DESCRIPTION', `trinity`'s personal website')dnl
<!DOCTYPE html> <!DOCTYPE html>
<HTML lang="en-US"> <HTML lang="en-US">
include(`head.m4') include(`head.m4')dnl
<BODY> <BODY>
<SCRIPT TYPE="application/javascript" SRC="js/cookies.js" ></SCRIPT> <SCRIPT TYPE="application/javascript" SRC="js/cookies.js" ></SCRIPT>
@ -17,7 +17,7 @@ window.onload = function(){
}; };
//--></SCRIPT> //--></SCRIPT>
include(`announcement.m4') include(`announcement.m4')dnl
<P>Hi, I'm Deven Trinity Blake. I'm just your normal everyday nerd.</P> <P>Hi, I'm Deven Trinity Blake. I'm just your normal everyday nerd.</P>
<SMALL> <SMALL>
transcriptions of my name include: <BR /> transcriptions of my name include: <BR />
@ -42,30 +42,52 @@ and <A HREF="http://devenblake.com">devenblake.com</A> redirects to this webpage
I'm vaccinated against COVID-19. Are you? I'm vaccinated against COVID-19. Are you?
</P> </P>
include(`navigation.m4') include(`navigation.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`contact.m4')
include(`contact.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`services.m4')
include(`services.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`praise.m4')
include(`praise.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`extensions.m4')
include(`extensions.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`now.m4')
include(`now.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`faq.m4')
include(`faq.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`gear.m4')
include(`gear.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`trinitisms.m4')
include(`trinitisms.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`zelda.m4')
include(`zelda.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`privacy.m4')
include(`privacy.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
include(`stickers.m4')
include(`stickers.m4')dnl
<HR ALIGN="left" SIZE="1" WIDTH="25%" /> <HR ALIGN="left" SIZE="1" WIDTH="25%" />
<INPUT ONCLICK="quote_new();" TYPE="button" VALUE="free quote" /> <INPUT ONCLICK="quote_new();" TYPE="button" VALUE="free quote" />