aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-14 21:50:47 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-14 21:54:20 +0100
commit31151e3e4cc0c887b74246b220315fb4d463335e (patch)
tree5caf58a67bab61d97d3a649800c98f3a1aaedced /Makefile
parentc1fcfaaeff72aeebf47a25822f0135fbbde07ef8 (diff)
downloadchawan-31151e3e4cc0c887b74246b220315fb4d463335e.tar.gz
Add chabookmark script
Finally it's done. It's basically w3mbookmark, but using Markdown instead of HTML and in POSIX shell instead of C. As a bonus, it can also (sort of) import w3mbookmark's output. Well, at least it worked on my bookmark file, but there is a known issue with bracket escaping... if it goes wrong, it's simple enough to edit it manually :P
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8622dfc3..a6c8106f 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,7 @@ all: $(OUTDIR_BIN)/cha $(OUTDIR_BIN)/mancha $(OUTDIR_CGI_BIN)/http \
$(OUTDIR_CGI_BIN)/man $(OUTDIR_CGI_BIN)/spartan \
$(OUTDIR_CGI_BIN)/stbi $(OUTDIR_CGI_BIN)/jebp $(OUTDIR_CGI_BIN)/canvas \
$(OUTDIR_CGI_BIN)/sixel $(OUTDIR_CGI_BIN)/resize \
+ $(OUTDIR_CGI_BIN)/chabookmark \
$(OUTDIR_LIBEXEC)/urldec $(OUTDIR_LIBEXEC)/urlenc $(OUTDIR_LIBEXEC)/nc \
$(OUTDIR_LIBEXEC)/md2html $(OUTDIR_LIBEXEC)/ansi2html
ln -sf "$(OUTDIR)/$(TARGET)/bin/cha" cha
@@ -185,7 +186,7 @@ manpages = $(manpages1) $(manpages5)
manpage: $(manpages:%=doc/%)
protocols = http about file ftp sftp gopher gemini finger man spartan stbi \
- jebp sixel canvas resize
+ jebp sixel canvas resize chabookmark
converters = gopher2html md2html ansi2html gmi2html dirlist2html
tools = urlenc nc