core/contrib/Makefile
Franco Fichtner da19c68bf5 make: split install' and plist' targets
While there, make install provide output as well and
mop up a few minor issues with the previous code.
2015-07-16 13:47:54 +02:00

17 lines
479 B
Makefile

all:
install:
@mkdir -p ${DESTDIR}/usr/local/share
@cp -vr ${.CURDIR}/openvpn ${DESTDIR}/usr/local/share/
@cp -vr ${.CURDIR}/mobile-broadband-provider-info \
${DESTDIR}/usr/local/share/
plist:
@(cd ${.CURDIR}/openvpn; find * -type f) | \
xargs -n1 printf "/usr/local/share/openvpn/%s\n"
@(cd ${.CURDIR}/mobile-broadband-provider-info; find * -type f) | \
xargs -n1 printf \
"/usr/local/share/mobile-broadband-provider-info/%s\n"
.PHONY: install plist