freebsd-dev/usr.sbin/pkg_install/Makefile
Florent Thoumie 2eb4b00cbb Backout libinstall.a -> libpkg commit.
Discussed with:	erwin, brooks, bapt
2011-05-17 19:11:47 +00:00

21 lines
480 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
distfile: clean
@(cd ${.CURDIR}/..; \
cp -r pkg_install pkg_install-${DATE}; \
tar -czf pkg_install/pkg_install-${DATE}.tar.gz \
--exclude .#* --exclude *~ --exclude CVS \
--exclude .svn --exclude pkg_install-*.tar.gz \
pkg_install-${DATE}; \
rm -rf pkg_install-${DATE})