From 7d377d0d8dc75fc51040127dff495988f2b184af Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 31 Jul 2012 16:46:43 -0400 Subject: Implement an about:runtime page and :runtime command to view and change runtime settings. Settings that have been modified show in a highlighted color in the table. Tooltips describe the setting's function, as well as the default values. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e9ada1a..f9b4c49 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ CPPFLAGS+= -DXOMBRERO_BUILDSTR=\"$(BUILDVERSION)\" MANDIR= ${PREFIX}/man/man -CLEANFILES += ${.CURDIR}/javascript.h javascript.h xombrero.cat1 xombrero.core +CLEANFILES += ${.CURDIR}/javascript.h javascript.h tooltip.h xombrero.cat1 xombrero.core JSFILES += hinting.js JSFILES += input-focus.js @@ -49,6 +49,11 @@ javascript.h: ${JSFILES} js-merge-helper.pl perl ${.CURDIR}/js-merge-helper.pl \ ${JSCURDIR} > javascript.h +tooltip.h: ${MAN} ascii2txt.pl txt2tooltip.pl + mandoc -Tascii ${.CURDIR}/${MAN} | \ + perl ${.CURDIR}/ascii2txt.pl | \ + perl ${.CURDIR}/txt2tooltip.pl > tooltip.h + beforeinstall: install -m 755 -d ${PREFIX}/bin install -m 755 -d ${PREFIX}/man/man1/ @@ -64,7 +69,7 @@ beforeinstall: install -m 644 ${.CURDIR}/style.css ${PREFIX}/share/xombrero install -m 644 ${.CURDIR}/hsts-preload ${PREFIX}/share/xombrero -${PROG} ${OBJS} beforedepend: javascript.h +${PROG} ${OBJS} beforedepend: javascript.h tooltip.h # clang targets .if ${.TARGETS:M*analyze*} -- cgit 1.4.1-2-gfad0