- install pixmaps

- fix Applications defaults installation
This commit is contained in:
matthieu 2006-11-27 20:19:57 +00:00
parent b455532e54
commit 5c6155a08d
2 changed files with 24 additions and 4 deletions

View File

@ -1,8 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/26 10:58:43 matthieu Exp $
# $OpenBSD: Makefile,v 1.2 2006/11/27 20:19:57 matthieu Exp $
PROG= xsystrace
MAN= xsystrace.1
.ifmake install
SUBDIR= pixmaps
.endif
CPPFLAGS+= -I${X11BASE}/include
LDADD+= -L${X11BASE}/lib -lXaw -lXt -lXmu -lX11 -lXext
@ -10,9 +14,8 @@ SRCS= main.c interface.c callbacks.c policy.c
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} \
${.CURDIR}/Xsystrace.ad ${PREFIX}/${LIBDIR}/X11/app-defaults
${.CURDIR}/Xsystrace.ad ${PREFIX}/${LIBDIR}/X11/app-defaults/Xsystrace
.include <bsd.prog.mk>
.include <bsd.xorg.mk>
.include <bsd.subdir.mk>

View File

@ -0,0 +1,17 @@
# $OpenBSD: Makefile,v 1.1 2006/11/27 20:19:57 matthieu Exp $
.include <bsd.own.mk>
PIXMAPS= deny-always.xpm deny.xpm logo.xpm permit-always.xpm \
permit.xpm skull.xpm
install:
@for f in ${PIXMAPS}; do \
echo "${INSTALL} ${INSTALL_COPY} $$f \
${DESTDIR}${INCSDIR}/X11/pixmaps" ; \
${INSTALL} ${INSTALL_COPY} ${.CURDIR}/$$f \
${DESTDIR}${INCSDIR}/X11/pixmaps ; \
done
.include <bsd.own.mk>
.include <bsd.xorg.mk>