From 0a054aeb9ce8430a62be05283300ec34e9c2b0af Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 17 Jul 2020 13:23:21 -0400 Subject: Add export option Adding the export query parameter to any page downloads a .html with the default stylesheet embedded, and all navigation, forms and internal links removed, for being able to share some part of a private instance of litterbox. --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1cb3bf4..b6387ef 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,7 @@ TEST_DB = ~/.local/share/litterbox/litterbox.sqlite -include config.mk OBJS += contexts.o +OBJS += css.o OBJS += events.o OBJS += html.o OBJS += networks.o @@ -24,9 +25,7 @@ scooper: ${OBJS} ${OBJS}: server.h -server.o: css.h - -css.h: css.sh default.css color.css +css.c: css.sh default.css color.css sh css.sh default.css color.css > $@ test: .test @@ -39,7 +38,7 @@ tags: *.c *.h ctags -w *.c *.h clean: - rm -f scooper ${OBJS} css.h .test tags + rm -f scooper ${OBJS} css.c .test tags install: scooper scooper.1 install -d ${PREFIX}/bin ${MANDIR}/man1 -- cgit 1.4.1