diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2024-05-05 22:44:57 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2024-05-05 22:44:57 +0200 |
commit | ae13f5ead796d4d81b07da6a4a628735a6f7ee87 (patch) | |
tree | 307fcff1e05e3d85f8e3ecc22f106fc569b97b1a | |
parent | 43056800dd6274d854df718e8d86730e8726a8ac (diff) |
install headerobsd
-rw-r--r-- | mk/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/Makefile b/mk/Makefile index 6278bf8..2f5488c 100644 --- a/mk/Makefile +++ b/mk/Makefile @@ -30,6 +30,14 @@ CFLAGS += -std=c99 EXTRA_PKGCONFIG_SUBST= "-e s/@PCIACCESS_LIBS@//" PKGCONFIG = pciaccess.pc +beforeinstall: + @cmp -s ${DESTDIR}${X11BASE}/include/pciaccess.h \ + $(TOP)/include/pciaccess.h || \ + echo "${INSTALL_DATA} $(TOP)/include/pciaccess.h \ + ${DESTDIR}${X11BASE}/include/pciaccess.h" && \ + ${INSTALL_DATA} $(TOP)/include/pciaccess.h \ + ${DESTDIR}${X11BASE}/include/pciaccess.h + .PATH: $(TOP) .PATH: $(TOP)/src |