=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Makefile,v retrieving revision 1.35 retrieving revision 1.36 diff -c -r1.35 -r1.36 *** src/etc/Makefile 1997/01/19 22:26:19 1.35 --- src/etc/Makefile 1997/01/21 12:02:41 1.36 *************** *** 1,4 **** ! # $OpenBSD: Makefile,v 1.35 1997/01/19 22:26:19 graichen Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific --- 1,4 ---- ! # $OpenBSD: Makefile,v 1.36 1997/01/21 12:02:41 graichen Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific *************** *** 167,212 **** /bin/rm -rf ${DESTDIR}/snapshot install -d -o root -g wheel -m 755 ${DESTDIR}/snapshot ! # check if SNAP_GZIP_CMD is set - else set it to "gzip -9" # you may set it to "cat" alternatively for architectures # where the gzip'ing would take too much time (pmax or slower :-) # this way you get only tar'ed snap files and you can gzip # them on a faster machine ! .ifndef SNAP_GZIP_CMD ! SNAP_GZIP_CMD= gzip -9 ! SNAP_GZIP_EXT= .gz .endif snap_tar: cd ${DESTDIR} && tar cf - bin \ ! | ${SNAP_GZIP_CMD} > snapshot/bin.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - dev \ ! | ${SNAP_GZIP_CMD} > snapshot/dev.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - .profile .cshrc altroot etc home mnt \ ! root stand sys tmp | ${SNAP_GZIP_CMD} \ ! > snapshot/etc.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - sbin \ ! | ${SNAP_GZIP_CMD} > snapshot/sbin.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/bin \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.bin.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/games \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.games.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/include \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.include.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/lib \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.lib.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/libexec \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.libexec.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \ ! usr/obj | ${SNAP_GZIP_CMD} \ ! > snapshot/usr.misc.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/sbin \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.sbin.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - usr/share \ ! | ${SNAP_GZIP_CMD} > snapshot/usr.share.tar${SNAP_GZIP_EXT} cd ${DESTDIR} && tar cf - var \ ! | ${SNAP_GZIP_CMD} > snapshot/var.tar${SNAP_GZIP_EXT} snap_md: # nothing here -- look in the machine-dependent Makefile.inc --- 167,213 ---- /bin/rm -rf ${DESTDIR}/snapshot install -d -o root -g wheel -m 755 ${DESTDIR}/snapshot ! # check if GZIP is set - else set it to "gzip" # you may set it to "cat" alternatively for architectures # where the gzip'ing would take too much time (pmax or slower :-) # this way you get only tar'ed snap files and you can gzip # them on a faster machine ! .ifndef GZIP ! GZIP= gzip ! GZIPFLAGS= -9 ! GZIPEXT= .gz .endif snap_tar: cd ${DESTDIR} && tar cf - bin \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/bin.tar${GZIPEXT} cd ${DESTDIR} && tar cf - dev \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/dev.tar${GZIPEXT} cd ${DESTDIR} && tar cf - .profile .cshrc altroot etc home mnt \ ! root stand sys tmp | ${GZIP} ${GZIPFLAGS} \ ! > snapshot/etc.tar${GZIPEXT} cd ${DESTDIR} && tar cf - sbin \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/sbin.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/bin \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.bin.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/games \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.games.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/include \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.include.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/lib \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.lib.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/libexec \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.libexec.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \ ! usr/obj | ${GZIP} ${GZIPFLAGS} \ ! > snapshot/usr.misc.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/sbin \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.sbin.tar${GZIPEXT} cd ${DESTDIR} && tar cf - usr/share \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/usr.share.tar${GZIPEXT} cd ${DESTDIR} && tar cf - var \ ! | ${GZIP} ${GZIPFLAGS} > snapshot/var.tar${GZIPEXT} snap_md: # nothing here -- look in the machine-dependent Makefile.inc