freebsd-skq/usr.sbin/pkg_install/Makefile
flz a47d4949f6 Style fix (use naked commands).
Reported by:	obrien
2008-06-16 09:15:27 +00:00

21 lines
480 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
distfile: clean
@(cd ${.CURDIR}/..; \
cp -r pkg_install pkg_install-${DATE}; \
tar -czf pkg_install/pkg_install-${DATE}.tar.gz \
--exclude .#* --exclude *~ --exclude CVS \
--exclude .svn --exclude pkg_install-*.tar.gz \
pkg_install-${DATE}; \
rm -rf pkg_install-${DATE})