Makefile revision 285830
1# $FreeBSD: releng/10.2/usr.sbin/pkg_install/Makefile 222035 2011-05-17 19:11:47Z flz $ 2 3.include <bsd.own.mk> 4 5SUBDIR= lib add create delete info updating version 6 7.include <bsd.subdir.mk> 8 9DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||' 10 11distfile: clean 12 @(cd ${.CURDIR}/..; \ 13 cp -r pkg_install pkg_install-${DATE}; \ 14 tar -czf pkg_install/pkg_install-${DATE}.tar.gz \ 15 --exclude .#* --exclude *~ --exclude CVS \ 16 --exclude .svn --exclude pkg_install-*.tar.gz \ 17 pkg_install-${DATE}; \ 18 rm -rf pkg_install-${DATE}) 19 20 21