1# $FreeBSD: head/usr.sbin/pkg_install/Makefile 179819 2008-06-16 09:15:27Z flz $
| 1# $FreeBSD: head/usr.sbin/pkg_install/Makefile 207113 2010-04-23 11:07:43Z flz $
|
2 3.include <bsd.own.mk> 4
| 2 3.include <bsd.own.mk> 4
|
5SUBDIR= lib add create delete info updating version
| 5SUBDIR= add create delete info updating version
|
6 7.include <bsd.subdir.mk> 8
| 6 7.include <bsd.subdir.mk> 8
|
9DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
| 9DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/Makefile.inc | 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
| 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
|