From 3b9bf50b4cbcf5b4b78cec47fe2454ba6493aa59 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 7 May 2017 14:21:27 +0200 Subject: Set hint css vie web content manager #349. Add the hint css direct to webkit instead of manipulating the DOM to add a style node. By the way the default style was removed from config.def.h into src/scripts directory so that the css is minified during compilation. --- src/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 50e267d..f60d2ce 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,6 +4,7 @@ include $(BASEDIR)/config.mk SUBDIRS = webextension OBJ = $(patsubst %.c, %.o, $(wildcard *.c)) JSFILES = $(wildcard scripts/*.js) +CSSFILES = $(wildcard scripts/*.css) all: vimb $(SUBDIRS:%=%.subdir-all) @@ -22,10 +23,10 @@ config.h: @echo create $@ from config.def.h $(Q)cp config.def.h $@ -scripts/scripts.h: $(JSFILES) +scripts/scripts.h: $(JSFILES) $(CSSFILES) $(Q)$(RM) $@ - @echo "create $@ from *.js" - $(Q)for file in $(JSFILES); do \ + @echo "create $@ from *.{css,js}" + $(Q)for file in $(JSFILES) $(CSSFILES); do \ ./scripts/js2h.sh $$file >> $@; \ done -- cgit v1.2.3