summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1993-10-01 21:34:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1993-10-01 21:34:23 +0000
commite03159403ef933a60c01a89c78ebcdb388f66b36 (patch)
treeab1ca4662704fa15a395b2c87ddf9da51bae04c1
parent520d1c04c127252af1b7b0489fe430cf5b53563b (diff)
downloadFreeBSD-src-e03159403ef933a60c01a89c78ebcdb388f66b36.zip
FreeBSD-src-e03159403ef933a60c01a89c78ebcdb388f66b36.tar.gz
Split the src-tarball target up into multiple targets, there is now
a tar ball for each top level src directory, plus the base tar ball that has the very toplevel files in it.
-rw-r--r--etc/Makefile125
1 files changed, 113 insertions, 12 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2dd8bee..aeb5afd 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -282,21 +282,121 @@ cpio-floppy:
bin-tarball:
(cd ${DESTDIR}; \
- tar cf - . | gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/bin_tgz.)
+ tar cf - . | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/bin_tgz.)
-src-tarball:
+srcbase-tarball:
(cd ${DESTDIR}; \
- tar --exclude usr/src/${CRYPT_LIB} -cf - usr/src | gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/src_tgz.)
+ tar -cf - usr/src/[A-Z]* | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcbase_tgz.)
-ssrc-tarball:
+srcbin-tarball:
(cd ${DESTDIR}; \
- tar -cf - usr/src/${CRYPT_LIB} | gzip --no-name -9 -c | \
- split -b 240640 - \
- ${RELEASEDIR}/tarballs/ssrc_tgz.)
+ tar -cf - usr/src/bin | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcbin_tgz.)
+
+srccontrib-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/contrib | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srccontrib_tgz.)
+
+srcetc-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/etc | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcetc_tgz.)
+
+srcgames-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/games | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcgames_tgz.)
+
+srcgnu-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/gnu | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcgnu_tgz.)
+
+srcinclude-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/include | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcinclude_tgz.)
+
+srclib-tarball:
+ (cd ${DESTDIR}; \
+ tar --exclude usr/src/${CRYPT_LIB} -cf - usr/src/lib | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srclib_tgz.)
+
+srclibcrypt-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/${CRYPT_LIB} | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srclibcrypt_tgz.)
+
+srclibexec-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/libexec | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srclibexec_tgz.)
+
+srcsbin-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/sbin | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcsbin_tgz.)
+
+srcshare-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/share | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcshare_tgz.)
+
+srcsys-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/sys | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcsys_tgz.)
+
+srcusrbin-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/usr.bin | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcusrbin_tgz.)
+
+srcusrsbin-tarball:
+ (cd ${DESTDIR}; \
+ tar -cf - usr/src/usr.sbin | \
+ gzip --no-name -9 -c | \
+ split -b 240640 - \
+ ${RELEASEDIR}/tarballs/srcusrsbin_tgz.)
+
+src-tarball: srcbase-tarball srcbin-tarball srccontrib-tarball srcetc-tarball \
+ srcgames-tarball srcgnu-tarball srcinclude-tarball srclib-tarball \
+ srclibcrypt-tarball srclibexec-tarball srcsbin-tarball \
+ srcshare-tarball srcsys-tarball srcusrbin-tarball \
+ srcusrsbin-tarball
des-tarball:
rm -rf ${RELEASEDIR}/tmpdes
@@ -325,7 +425,8 @@ des-tarball:
${MAKE} cleandir obj depend all install; \
done
(cd ${RELEASEDIR}/tmpdes; \
- tar cf - . | gzip --no-name -9 -c | \
+ tar cf - . | \
+ gzip --no-name -9 -c | \
split -b 240640 - \
${RELEASEDIR}/tarballs/des_tgz.)
rm -rf ${RELEASEDIR}/tmpdes
OpenPOWER on IntegriCloud