summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-25 23:05:41 -0400
committerJune McEnroe <june@causal.agency>2019-07-25 23:06:46 -0400
commitb1247767cc1199328fa2afbcfb81052ce4f7687f (patch)
treec4d878b4f43304ab83c02106bd14e4c21d6c351b /bin
parentWarn when date has changed (diff)
downloadsrc-b1247767cc1199328fa2afbcfb81052ce4f7687f.tar.gz
src-b1247767cc1199328fa2afbcfb81052ce4f7687f.zip
Generate index.html with links from bin.7
Diffstat (limited to '')
-rw-r--r--bin/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/Makefile b/bin/Makefile
index b246bf28..0e44f557 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -114,11 +114,7 @@ IGNORE = '*.o' '*.html' config.mk tags scheme.h scheme.png $(BINS_ALL) $(LINKS)
 	echo $(IGNORE) | tr ' ' '\n' | sort > .gitignore
 
 HTMLS = $(BINS_ALL:%=%.html)
-HTMLS += Makefile.html
-HTMLS += gfx-fb.html
-HTMLS += gfx-x11.html
-HTMLS += gfx.html
-HTMLS += html.html
+HTMLS += index.html
 HTMLS += png.html
 WEBROOT = /usr/local/www/causal.agency
 
@@ -141,8 +137,10 @@ $(HTMLS): ttpre hi html.sh
 .h.html:
 	sh html.sh $< > $@
 
-Makefile.html: Makefile bin.7
-	sh html.sh Makefile bin.7 > Makefile.html
+index.html: Makefile bin.7
+	sh html.sh Makefile bin.7 \
+		| sed -E -e 's#([a-z0-9-]+)[(]1[)]#<a href="\1.html">&</a>#' \
+		> index.html
 
 clean:
 	rm -f $(BINS_ALL) $(LINKS) tags scheme.h scheme.png *.o *.html
href='/cgit-pink/commit/shared.c?h=1.4.0&id=a1a79998f22fe8279be51fc1d31bfcf14031c109&follow=1'>Add head comment to shared.cLars Hjemli 2006-12-16Add head comment to ui-commit.cLars Hjemli 2006-12-16gitweb ripoff: set tr:hover to highligt current rowLars Hjemli 2006-12-16Make repo header a link to summary pageLars Hjemli 2006-12-16Move cgit_print_date into ui-shared, reuse in ui-summaryLars Hjemli 2006-12-16Add ui-commit.c + misc ui cleanupsLars Hjemli 2006-12-15Add a common commit parserLars Hjemli 2006-12-14Add simple pager to log pageLars Hjemli 2006-12-13Add separate makefile-rule to clear current cacheLars Hjemli 2006-12-13Remove implementation details from READMELars Hjemli 2006-12-13Small layout adjustments to summary and blob viewLars Hjemli 2006-12-13Add display of tree content w/ui-tree.cLars Hjemli 2006-12-12cache_lock: do xstrdup/free on lockfileLars Hjemli 2006-12-11Don't truncate valid cachefilesLars Hjemli 2006-12-11Move global variables + callback functions into shared.cLars Hjemli 2006-12-11Move functions for generic object output into ui-view.cLars Hjemli 2006-12-11Move log-functions into ui-log.cLars Hjemli 2006-12-11Move repo summary functions into ui-summary.cLars Hjemli 2006-12-11Move functions for repolist output into ui-repolist.cLars Hjemli 2006-12-11Move common output-functions into ui-shared.cLars Hjemli 2006-12-11Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.cLars Hjemli 2006-12-11Avoid infinite loops in caching layerLars Hjemli 2006-12-11Let 'make install' clear all cachefilesLars Hjemli 2006-12-11Fix cache algorithm loopholeLars Hjemli 2006-12-10Add version identifier in generated filesLars Hjemli 2006-12-10Add license file and copyright noticesLars Hjemli 2006-12-10Add caching infrastructureLars Hjemli