summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile
index ae8d098..8b5673e 100644
--- a/usr.sbin/pkg_install/Makefile
+++ b/usr.sbin/pkg_install/Makefile
@@ -5,3 +5,19 @@
SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
+
+CP= /bin/cp
+RM= /bin/rm
+TAR= /usr/bin/tar
+
+DATE!= date +%Y%m%d
+
+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