Makefile revision 178032
1# $FreeBSD: head/usr.sbin/pkg_install/Makefile 178032 2008-04-09 15:08:31Z 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!=	date +%Y%m%d
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