22 lines
541 B
Makefile
22 lines
541 B
Makefile
SUBDIR=lib add create delete info
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
dists: bin_dist src_dist
|
|
|
|
src_dist: clean
|
|
@echo "CVS" > /tmp/excludeXXX
|
|
pkg_create -X /tmp/excludeXXX -d +DESC -c +COMMENT -f +CONTENTS pkg_install_src
|
|
@rm -f /tmp/excludeXXX
|
|
|
|
bin_dist: all install
|
|
tar czf pkg_install.tar.gz -C / \
|
|
usr/local/bin/pkg_add \
|
|
usr/local/bin/pkg_create \
|
|
usr/local/bin/pkg_delete \
|
|
usr/local/bin/pkg_info \
|
|
usr/local/man/man1/pkg_add.1 \
|
|
usr/local/man/man1/pkg_create.1 \
|
|
usr/local/man/man1/pkg_delete.1 \
|
|
usr/local/man/man1/pkg_info.1
|