xenocara/data/xkeyboard-config/Makefile.inc

31 lines
759 B
PHP
Raw Normal View History

# $OpenBSD: Makefile.inc,v 1.7 2016/10/09 09:54:56 matthieu Exp $
2011-10-16 11:18:56 -06:00
XKC_TOP?= ../../..
XKB_DIR= ${.CURDIR}/${XKC_TOP}/dist/xkeyboard-config
XKB_BASE= ${DESTDIR}${X11BASE}/share/X11/xkb
2011-10-16 11:18:56 -06:00
INSTALL_DIR= ${INSTALL} -d -o root -g wheel -m ${DIRMODE}
all: _SUBDIRUSE
.if defined(DATA)
2011-10-16 11:18:56 -06:00
install: ${DATA} install-files _SUBDIRUSE
test -z ${XKB_BASE}/${XKB_SUBDIR} || ${INSTALL_DIR} ${XKB_BASE}/${XKB_SUBDIR}
@for f in ${DATA}; do \
2011-10-16 11:18:56 -06:00
echo ${INSTALL_DATA} ${XKB_DIR}/${XKB_SUBDIR}/$$f ${XKB_BASE}/${XKB_SUBDIR}/$$f; \
${INSTALL_DATA} ${XKB_DIR}/${XKB_SUBDIR}/$$f ${XKB_BASE}/${XKB_SUBDIR}/$$f; \
done
.else
2011-10-16 11:18:56 -06:00
install: install-files _SUBDIRUSE
.endif
.if !target(intall-files)
install-files:
.endif
.if !target(clean)
clean:
.endif
.PATH: ${XKB_DIR}/${XKB_SUBDIR}