mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 18:46:00 +01:00
Add HEADERINST.
This commit is contained in:
parent
21579797cd
commit
fbc5f1431f
1 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue