summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/Makefile
blob: 434d3b7d41670c20b14a46638253c6cd8ffd2589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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 pkg_install-*.tar.gz pkg_install-${DATE}; \
		${RM} -rf pkg_install-${DATE})
		
	
OpenPOWER on IntegriCloud