mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
While there, make install provide output as well and mop up a few minor issues with the previous code.
19 lines
566 B
Makefile
19 lines
566 B
Makefile
all:
|
|
|
|
install:
|
|
@mkdir -p ${DESTDIR}
|
|
@cp -v ${.CURDIR}/+PRE_DEINSTALL ${DESTDIR}
|
|
@cp -v ${.CURDIR}/+POST_INSTALL ${DESTDIR}
|
|
@cp -v ${.CURDIR}/+MANIFEST ${DESTDIR}
|
|
@mkdir -p ${DESTDIR}/usr/local/etc/pkg
|
|
@cp -vr ${.CURDIR}/repos ${DESTDIR}/usr/local/etc/pkg/
|
|
@cp -vr ${.CURDIR}/fingerprints ${DESTDIR}/usr/local/etc/pkg/
|
|
|
|
plist:
|
|
@(cd ${.CURDIR}/repos; find * -type f) | \
|
|
xargs -n1 printf "/usr/local/etc/pkg/repos/%s\n"
|
|
@(cd ${.CURDIR}/fingerprints; find * -type f) | \
|
|
xargs -n1 printf "/usr/local/etc/pkg/fingerprints/%s\n"
|
|
|
|
.PHONY: install plist
|