about summary refs log tree commit diff stats
path: root/freebsd/Makefile
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-31 16:46:43 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-31 16:46:43 -0400
commit7d377d0d8dc75fc51040127dff495988f2b184af (patch)
treea7610997edca4fd402254ea96b758618cf8173d1 /freebsd/Makefile
parentd38f66db03cf801fb1b4e01acb2f15d91280b248 (diff)
downloadxombrero-7d377d0d8dc75fc51040127dff495988f2b184af.tar.gz
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.
Diffstat (limited to 'freebsd/Makefile')
-rw-r--r--freebsd/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/freebsd/Makefile b/freebsd/Makefile
index 9ed119b..011354c 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -19,12 +19,17 @@ MANDIR?= $(PREFIX)/man
 
 CC?= cc
 
-all: ../javascript.h xombrero
+all: ../javascript.h ../tooltip.h xombrero
 
 ../javascript.h: ../js-merge-helper.pl ../hinting.js ../autoscroll.js
 	perl ../js-merge-helper.pl ../hinting.js ../input-focus.js \
 	../autoscroll.js > ../javascript.h
 
+../tooltip.h: ../ascii2txt.pl ../txt2tooltip.pl ../xombrero.1
+	nroff -c -Tascii -mandoc ../xombrero.1 | \
+	perl ../ascii2txt.pl | \
+	perl ../txt2tooltip.pl > ../tooltip.h
+
 xombrero.o: ../xombrero.o
 
 unix.o: ../unix.o
@@ -51,7 +56,7 @@ externaleditor.o: ../externaleditor.o
 
 tldlist.o: ../tldlist.o
 
-../xombrero.o: ../javascript.h
+../xombrero.o: ../javascript.h ../tooltip.h
 
 xombrero: xombrero.o freebsd.o marco.o about.o inspector.o whitelist.o settings.o \
 	cookie.o history.o completion.o inputfocus.o tldlist.o externaleditor.o \
@@ -77,5 +82,6 @@ install: all
 clean:
 	rm -f xombrero *.o
 	rm -f javascript.h
+	rm -f tooltip.h
 
 .PHONY: all install clean