From 382c70cf5ec416635e6b8a8440018c68442100d4 Mon Sep 17 00:00:00 2001 From: dtb Date: Wed, 31 Aug 2022 11:02:13 -0400 Subject: [PATCH] convert home/index.html to m4 --- homepage/Makefile | 10 ++++++++-- homepage/home/Makefile | 2 ++ homepage/home/{index.html => index.m4} | 16 +++++----------- 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 homepage/home/Makefile rename homepage/home/{index.html => index.m4} (72%) diff --git a/homepage/Makefile b/homepage/Makefile index 5fc966d..cc70fd2 100644 --- a/homepage/Makefile +++ b/homepage/Makefile @@ -1,6 +1,6 @@ .POSIX: -generate: index.html css/index.html +generate: index.html css/index.html home/index.html index.html: \ index.m4 \ @@ -23,4 +23,10 @@ zelda.m4 css/index.html: head.m4 css/index.m4 make -C css -.PHONY: generate +home/index.html: head.m4 home/index.m4 + make -C home + +clean: + rm index.html css/index.html home/index.html + +.PHONY: generate clean diff --git a/homepage/home/Makefile b/homepage/home/Makefile new file mode 100644 index 0000000..e870928 --- /dev/null +++ b/homepage/home/Makefile @@ -0,0 +1,2 @@ +index.html: index.m4 ../head.m4 + m4 index.m4 >index.html diff --git a/homepage/home/index.html b/homepage/home/index.m4 similarity index 72% rename from homepage/home/index.html rename to homepage/home/index.m4 index 30755a5..192adab 100644 --- a/homepage/home/index.html +++ b/homepage/home/index.m4 @@ -1,15 +1,9 @@ +define(`_TITLE', `home')dnl +define(`_DESCRIPTION', `browser home page')dnl +define(`_PAGE', `home/')dnl - - - - - - - - - -Home - + +include(`../head.m4')dnl

~ www.trinity.moe