# $FreeBSD: head/usr.sbin/pkg_install/Makefile 222035 2011-05-17 19:11:47Z flz $ .include SUBDIR= lib add create delete info updating version .include 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})