]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/pkg_install/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / pkg_install / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 SUBDIR= lib add create delete info updating version
6
7 .include <bsd.subdir.mk>
8
9 DATE!=  grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[      ]||'
10
11 distfile: 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