Makefile now calculates MD5sums on installation; suitable for adding

to web pages for downloaders.
This commit is contained in:
ccurley 2003-12-19 19:37:16 +00:00
parent b9273be458
commit 4a59a8dbfd
1 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# a makefile for generating the Bare Metal Recovery HOW-TO
# Time-stamp: <2003-01-09 15:46:18 ccurley Makefile>
# Time-stamp: <2003-12-18 16:29:29 ccurley Makefile>
# All the scripts we incorporate into the HOWTO. We filter out CVS,
# which is the CVS directory, and files with ~ in them, as these are
@ -117,12 +117,12 @@ ship: all
bzip2 -9 $(INSTALL)/$(DOCUMENT).txt
# Smooth version for download
tar -cvf $(DOCUMENT).smooth.html.tar $(DOCUMENT).smooth.html
bzip2 -9 $(DOCUMENT).smooth.html.tar
mv $(DOCUMENT).smooth.html.tar.bz2 $(INSTALL)/
cd .. ; tar -cvf $(DOCUMENT).smooth.html.tar $(DOCUMENT)/$(DOCUMENT).smooth.html images
cd .. ; bzip2 -9 $(DOCUMENT).smooth.html.tar
cd .. ; mv $(DOCUMENT).smooth.html.tar.bz2 $(INSTALL)/
# Chunky version for download
tar -cvf $(DOCUMENT).chunky.html.tar $(DOCUMENT)
tar -cvf $(DOCUMENT).chunky.html.tar $(DOCUMENT) images --exclude images/CVS
bzip2 -9 $(DOCUMENT).chunky.html.tar
mv $(DOCUMENT).chunky.html.tar.bz2 $(INSTALL)/
@ -130,6 +130,7 @@ ship: all
cd .. ; tar -cvf $(DOCUMENT).tar $(DOCUMENT)/README `find $(DOCUMENT)/scripts -name "[a-z]*" ! -name "*~" ! -type d ` $(DOCUMENT)/$(DOCUMENT).sgml $(DOCUMENT)/buildscript $(DOCUMENT)/Makefile $(DOCUMENT)/images/*.gif
cd .. ; bzip2 -9 $(DOCUMENT).tar
cd .. ; mv $(DOCUMENT).tar.bz2 $(INSTALL)/
cd $(INSTALL) ; md5sum *.bz2 > md5sums.txt
ls -l $(INSTALL)
install: ship