25 lines
532 B
Makefile
25 lines
532 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= lib add create delete info updating version
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
CP= /bin/cp
|
|
RM= /bin/rm
|
|
TAR= /usr/bin/tar
|
|
|
|
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})
|
|
|
|
|