Commit b07b8ffa authored by Sebastian Ramacher's avatar Sebastian Ramacher

Build zathurarc.5 in install target and update README

parent a768894d
......@@ -65,7 +65,7 @@ dist: clean
@mkdir -p ${PROJECT}-${VERSION}
@cp -R LICENSE Makefile config.def.h README \
${PROJECT}.desktop ${PROJECT}rst.5.rst
@tar -cf ${PROJECT}-${VERSION}.tar ${PROJECT}-${VERSION}
@gzip ${PROJECT}-${VERSION}.tar
@rm -rf ${PROJECT}-${VERSION}
......@@ -78,6 +78,10 @@ install: all
@echo installing manual page
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@if which rst2man > /dev/null ; then \
mkdir -p ${DESTDIR}${MANPREFIX}/man5 ; \
rst2man ${PROJECT}rc.5.rst > ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5 ; \
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
@echo installing desktop file
......@@ -88,5 +92,6 @@ uninstall:
@rm -f ${DESTDIR}${PREFIX}/bin/${PROJECT}
@echo removing manual page
@rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
@rm -f ${DESTDIR}${MANPREFIX}/man5/${PROJECT}rc.5
@echo removing desktop file
......@@ -12,6 +12,9 @@ glib2 (2.22.4)
Please note that you need to have a working pkg-config installation
and that the Makefile is only compatible with GNU make.
And also note that rst2man from python-docutils is needed to build
zathurarc.5. If it is not installed, zathurarc.5 won't be built.
You can modify some parts of zathura by editing the config.h file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment