summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOscar Benedito <oscar@oscarbenedito.com>2020-07-31 16:56:52 +0200
committerOscar Benedito <oscar@oscarbenedito.com>2020-08-11 01:38:01 +0200
commit1fdbc7e8ef4025e50678261ca670daca85ac298c (patch)
tree3b0862499e130b2e266877a6da8d4dd1ba2ea305 /Makefile
parent0a81a2fac1b84fb5ee9870fafb3d62975eaf0f96 (diff)
Add about page for repos with REAMDE
This commits adds a new dependency: md4c (https://github.com/mity/md4c). Now stagit will generate an about page for each repo with a README, converting it to HTML if it is a Markdown file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2c8b1f8..da6f2b9 100644
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,12 @@ PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
DOCPREFIX = ${PREFIX}/share/doc/${NAME}
-LIBGIT_INC = -I/usr/local/include
-LIBGIT_LIB = -L/usr/local/lib -lgit2
+LIB_INC = -I/usr/local/include
+LIB_LIB = -L/usr/local/lib -lgit2 -lmd4c-html
# use system flags.
-STAGIT_CFLAGS = ${LIBGIT_INC} ${CFLAGS}
-STAGIT_LDFLAGS = ${LIBGIT_LIB} ${LDFLAGS}
+STAGIT_CFLAGS = ${LIB_INC} ${CFLAGS}
+STAGIT_LDFLAGS = ${LIB_LIB} ${LDFLAGS}
STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE
SRC = \