From 5c6155a08d145aee8169b5e60bd8c5fc5b2e0122 Mon Sep 17 00:00:00 2001 From: matthieu Date: Mon, 27 Nov 2006 20:19:57 +0000 Subject: [PATCH] - install pixmaps - fix Applications defaults installation --- app/xsystrace/Makefile | 11 +++++++---- app/xsystrace/pixmaps/Makefile | 17 +++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 app/xsystrace/pixmaps/Makefile diff --git a/app/xsystrace/Makefile b/app/xsystrace/Makefile index cfd616d53..388bbfbad 100644 --- a/app/xsystrace/Makefile +++ b/app/xsystrace/Makefile @@ -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 .include - - +.include diff --git a/app/xsystrace/pixmaps/Makefile b/app/xsystrace/pixmaps/Makefile new file mode 100644 index 000000000..ea7caa92c --- /dev/null +++ b/app/xsystrace/pixmaps/Makefile @@ -0,0 +1,17 @@ +# $OpenBSD: Makefile,v 1.1 2006/11/27 20:19:57 matthieu Exp $ +.include + +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 +.include +