about summary refs log tree commit diff stats
path: root/linux
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 /linux
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 'linux')
-rw-r--r--linux/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 8d4e3cf..6a93843 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -31,12 +31,17 @@ ifneq ("${BUILDVERSION}", "")
 CFLAGS+= -DXOMBRERO_BUILDSTR=\"$(BUILDVERSION)\"
 endif
 
-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: $(OBJS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ $(LDADD)
 
@@ -79,6 +84,7 @@ uninstall:
 clean:
 	rm -f xombrero $(OBJS) $(DEPS)
 	rm -f javascript.h
+	rm -f tooltip.h
 
 
 -include $(DEPS)