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