[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/Makefile between version 1.34 and 1.35

version 1.34, 1997/01/03 04:04:52 version 1.35, 1997/01/19 22:26:19
Line 167 
Line 167 
         /bin/rm -rf ${DESTDIR}/snapshot          /bin/rm -rf ${DESTDIR}/snapshot
         install -d -o root -g wheel -m 755 ${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:  snap_tar:
         cd ${DESTDIR} && tar cf - bin | gzip -9 > snapshot/bin.tar.gz          cd ${DESTDIR} && tar cf - bin \
         cd ${DESTDIR} && tar cf - dev | gzip -9 > snapshot/dev.tar.gz              | ${SNAP_GZIP_CMD} > snapshot/bin.tar${SNAP_GZIP_EXT}
         cd ${DESTDIR} && tar cf - .profile .cshrc etc mnt root sys tmp | \          cd ${DESTDIR} && tar cf - dev \
             gzip -9 > snapshot/etc.tar.gz              | ${SNAP_GZIP_CMD} > snapshot/dev.tar${SNAP_GZIP_EXT}
         cd ${DESTDIR} && tar cf - sbin | gzip -9 > snapshot/sbin.tar.gz          cd ${DESTDIR} && tar cf - .profile .cshrc altroot etc home mnt \
         cd ${DESTDIR} && tar cf - usr/bin | gzip -9 > snapshot/usr.bin.tar.gz              root stand sys tmp | ${SNAP_GZIP_CMD} \
         cd ${DESTDIR} && tar cf - usr/games | gzip -9 > \              > snapshot/etc.tar${SNAP_GZIP_EXT}
             snapshot/usr.games.tar.gz          cd ${DESTDIR} && tar cf - sbin \
         cd ${DESTDIR} && tar cf - usr/include | gzip -9 > \              | ${SNAP_GZIP_CMD} > snapshot/sbin.tar${SNAP_GZIP_EXT}
             snapshot/usr.include.tar.gz          cd ${DESTDIR} && tar cf - usr/bin \
         cd ${DESTDIR} && tar cf - usr/lib | gzip -9 > snapshot/usr.lib.tar.gz              | ${SNAP_GZIP_CMD} > snapshot/usr.bin.tar${SNAP_GZIP_EXT}
         cd ${DESTDIR} && tar cf - usr/libexec | gzip -9 > \          cd ${DESTDIR} && tar cf - usr/games \
             snapshot/usr.libexec.tar.gz              | ${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 \          cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \
             usr/obj | gzip -9 > snapshot/usr.misc.tar.gz              usr/obj | ${SNAP_GZIP_CMD} \
         cd ${DESTDIR} && tar cf - usr/sbin | gzip -9 > snapshot/usr.sbin.tar.gz              > snapshot/usr.misc.tar${SNAP_GZIP_EXT}
         cd ${DESTDIR} && tar cf - usr/share | gzip -9 > \          cd ${DESTDIR} && tar cf - usr/sbin \
             snapshot/usr.share.tar.gz              | ${SNAP_GZIP_CMD} > snapshot/usr.sbin.tar${SNAP_GZIP_EXT}
         cd ${DESTDIR} && tar cf - var | gzip -9 > snapshot/var.tar.gz          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:  snap_md:
 # nothing here -- look in the machine-dependent Makefile.inc  # nothing here -- look in the machine-dependent Makefile.inc

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35