summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b1db8d4..1ae3fb2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,7 @@
+PREFIX = /usr/local
+SHAREDIR = ${PREFIX}/share
+MANDIR = ${SHAREDIR}/man
+
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
 LDLIBS = -ltls
 
@@ -28,3 +32,13 @@ tags: *.c *.h
 
 clean:
 	rm -f bubger ${OBJS} tags
+
+install: bubger bubger.1 default.html
+	install -d ${PREFIX}/bin ${MANDIR}/man1 ${SHAREDIR}/bubger
+	install bubger ${PREFIX}/bin
+	gzip -c bubger.1 > ${MANDIR}/man1/bubger.1.gz
+	install -m 644 default.html ${SHAREDIR}/bubger
+
+uninstall:
+	rm -f ${PREFIX}/bin/bubger ${MANDIR}/man1/bubger.1.gz
+	rm -fr ${SHAREDIR}/bubger
ubger/commit/html.c?h=1.0a&id=5babfb345200fbcddf4237ecdde38a3a23f2bf7d&follow=1'>Clean up html.cJune McEnroe 2020-04-27Style groups in recipientsJune McEnroe 2020-04-27Clean up export.cJune McEnroe 2020-04-27Clean up decode.cJune McEnroe 2020-04-26Free orderJune McEnroe 2020-04-26Clean up atom.c and fix base URLsJune McEnroe 2020-04-26Clean up archive.cJune McEnroe 2020-04-26Add -q to exit non-zero on early exitJune McEnroe 2020-04-26Rearrange some of archive.hJune McEnroe 2020-04-26Free part.parts.ptrJune McEnroe 2020-04-26Rename part->id to part->contentIDJune McEnroe 2020-04-26Iterate through nested multiparts to find content for AtomJune McEnroe 2020-04-26Include Cc address in reply mailtosJune McEnroe 2020-04-26Use %R for RFC numbers in STANDARDS sectionJune McEnroe 2020-04-26Add mailto spec to STANDARDSJune McEnroe 2020-04-26Increase space between nav itemsJune McEnroe 2020-04-26Add mailto address for the archiveJune McEnroe 2020-04-26Put dates on new lines in indexJune McEnroe 2020-04-26Include <> around Message-Id in mailto: URLsJune McEnroe 2020-04-26Add link to index on thread pagesJune McEnroe 2020-04-26Fall back to Content-Type name parameter for attachmentsJune McEnroe 2020-04-26Remove margins in article.message headerJune McEnroe 2020-04-26Generate index.atomJune McEnroe 2020-04-26Generate XHTML content in Atom entriesJune McEnroe 2020-04-25Style index pageJune McEnroe 2020-04-25Render index.htmlJune McEnroe 2020-04-25Wrap <summary> replies count in <data>June McEnroe 2020-04-25Accumulate thread envelopes before concatenationJune McEnroe 2020-04-24Free envelope in concatDataJune McEnroe 2020-04-24Use replyTo address in mailto:June McEnroe 2020-04-23Wrap quoted lines in <q>June McEnroe