xref: /freebsd/usr.bin/xohtml/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3LIBXOSRC=	${SRCTOP}/contrib/libxo
4
5.PATH:
6.PATH:	${LIBXOSRC}/xohtml
7
8SCRIPTS= xohtml.sh
9MAN=	xohtml.1
10
11EXTERNAL_FILES = \
12    external/jquery.js \
13    external/jquery.qtip.css \
14    external/jquery.qtip.js
15
16INTERNAL_FILES = \
17    xohtml.js \
18    xohtml.css
19
20FILES=          ${INTERNAL_FILES} ${EXTERNAL_FILES}
21FILESDIR=       /usr/share/xohtml
22FILESMODE=      ${NOBINMODE}
23
24beforeinstall: mkfilesdir
25mkfilesdir:
26	test -d ${DESTDIR}${FILESDIR} \
27	   || ${INSTALL} -d -o ${FILESOWN} -g ${FILESGRP} -m 755 ${DESTDIR}${FILESDIR}
28
29.include <bsd.prog.mk>
30