Add HEADERINST.

This commit is contained in:
Sebastian Ramacher 2012-03-18 19:38:17 +01:00
parent 21579797cd
commit fbc5f1431f

View file

@ -3,9 +3,10 @@
include config.mk include config.mk
include common.mk include common.mk
PROJECT = zathura PROJECT = zathura
OSOURCE = $(wildcard *.c) OSOURCE = $(wildcard *.c)
HEADER = $(wildcard *.h) HEADER = $(wildcard *.h)
HEADERINST = version.h zathura.h document.h macros.h
ifneq (${WITH_SQLITE},0) ifneq (${WITH_SQLITE},0)
INCS += $(SQLITE_INC) INCS += $(SQLITE_INC)
@ -147,7 +148,7 @@ endif
install-headers: ${PROJECT}.pc install-headers: ${PROJECT}.pc
$(ECHO) installing header files $(ECHO) installing header files
$(QUIET)mkdir -p ${DESTDIR}${INCLUDEDIR}/${PROJECT} $(QUIET)mkdir -p ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(QUIET)install -m 644 zathura.h document.h version.h macros.h ${DESTDIR}${INCLUDEDIR}/${PROJECT} $(QUIET)install -m 644 ${HEADERINST} ${DESTDIR}${INCLUDEDIR}/${PROJECT}
$(ECHO) installing pkgconfig file $(ECHO) installing pkgconfig file
$(QUIET)mkdir -p ${DESTDIR}${LIBDIR}/pkgconfig $(QUIET)mkdir -p ${DESTDIR}${LIBDIR}/pkgconfig
$(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig $(QUIET)install -m 644 ${PROJECT}.pc ${DESTDIR}${LIBDIR}/pkgconfig