mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
contrib: remove third party files from main src dir
This commit is contained in:
parent
36514af191
commit
a18ab70fba
2
Makefile
2
Makefile
@ -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
17
contrib/Makefile
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user