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