contrib: remove third party files from main src dir

This commit is contained in:
Franco Fichtner 2015-06-28 08:28:42 +02:00
parent 36514af191
commit a18ab70fba
26 changed files with 19 additions and 0 deletions

View File

@ -24,6 +24,8 @@ install: force
@make -C ${.CURDIR}/pkg install
# invoke translation glue
@make -C ${.CURDIR}/lang install
# invoke third-party tools
@make -C ${.CURDIR}/contrib install
# finally pretty-print a list of files present
@(cd ${.CURDIR}/src; find * -type f) | \
xargs -n1 printf "/usr/local/%s\n"

17
contrib/Makefile Normal file
View File

@ -0,0 +1,17 @@
all:
install:
# bootstrap needed root directories
@mkdir -p ${DESTDIR}/usr/local/share
# openvpn client exporter files
@cp -r ${.CURDIR}/openvpn ${DESTDIR}/usr/local/share/
@(cd ${.CURDIR}/openvpn; find * -type f) | \
xargs -n1 printf "/usr/local/share/openvpn/%s\n"
# mobile broadband provider database
@cp -r ${.CURDIR}/mobile-broadband-provider-info \
${DESTDIR}/usr/local/share/
@(cd ${.CURDIR}/mobile-broadband-provider-info; find * -type f) | \
xargs -n1 printf \
"/usr/local/share/mobile-broadband-provider-info/%s\n"
.PHONY: install