Commit b1e8edf0 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Install vim ftplugin

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 24581734
......@@ -128,7 +128,8 @@ dist: clean build-manpages
${PROJECT}.1.rst ${PROJECT}rc.5.rst ${OSOURCE} ${HEADER} ${PROJECT}.pc.in \
${PROJECT}.desktop version.h.in \
${PROJECT}.1 ${PROJECT}rc.5 \
org.pwmt.zathura.synxtex.xml \
org.pwmt.zathura.synctex.xml \
tex_zathurasynctex.tex \
${PROJECT}-${VERSION}
$(QUIET)cp tests/Makefile tests/config.mk tests/*.c \
${PROJECT}-${VERSION}/tests
......@@ -188,7 +189,12 @@ install-headers: ${PROJECT}.pc
install-dbus:
$(ECHO) installing D-Bus interface definitions
$(QUIET)mkdir -m 755 -p $(DESTDIR)$(DBUSINTERFACEDIR)
$(QUIET)install -m 644 org.pwmt.zathura.synxtex.xml $(DESTDIR)$(DBUSINTERFACEDIR)
$(QUIET)install -m 644 org.pwmt.zathura.synctex.xml $(DESTDIR)$(DBUSINTERFACEDIR)
install-vimftplugin:
$(ECHO) installing Vim filetype plugin
$(QUIET)mkdir -m 755 -p $(DESTDIR)$(VIMFTPLUGINDIR)
$(QUIET)install -m 644 tex_zathurasynctex.vim $(DESTDIR)$(VIMFTPLUGINDIR)
install: all install-headers install-manpages install-dbus
$(ECHO) installing executable file
......
......@@ -43,7 +43,8 @@ MANPREFIX ?= ${PREFIX}/share/man
DESKTOPPREFIX ?= ${PREFIX}/share/applications
LIBDIR ?= ${PREFIX}/lib
INCLUDEDIR ?= ${PREFIX}/include
DBUSINTERFACEDIR =? ${PREFIX}/share/dbus-1/interfaces
DBUSINTERFACEDIR ?= ${PREFIX}/share/dbus-1/interfaces
VIMFTPLUGINDIR ?= ${PREFIX}/share/vim/addons/ftplugin
# plugin directory
PLUGINDIR ?= ${LIBDIR}/zathura
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment