Mercurial > hg > chronicle
changeset 65:88f87687b36e
Removed references to the CVS repository and replaced them with Mercurial.
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Sun, 25 Nov 2007 14:15:10 +0000 |
parents | 2179b1d5d25b |
children | fbeda752caa7 |
files | Makefile README bin/chronicle |
diffstat | 3 files changed, 11 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sat Nov 10 17:08:25 2007 +0000 +++ b/Makefile Sun Nov 25 14:15:10 2007 +0000 @@ -2,7 +2,7 @@ # Utility makefile for people working with chronicle # # The targets are intended to be useful for people who are using -# the CVS repository - but it also contains other useful targets. +# the remote repository - but it also contains other useful targets. # # Steve # -- @@ -29,10 +29,10 @@ @echo "Valid targets are (alphabetically) :" @echo " " @echo " clean = Remove bogus files and any local output." - @echo " diff = Run a 'cvs diff'." + @echo " diff = See the local changes." @echo " test = Run our simple test cases." @echo " test-verbose = Run our simple test cases, verbosely." - @echo " update = Update from the CVS repository." + @echo " update = Update from the remote repository." @echo " " @@ -50,10 +50,10 @@ @if [ -e chronicle.1 ]; then rm -f chronicle.1 ; fi # -# Show what has been changed in the local copy vs. the CVS repository. +# Show what has been changed in the local copy vs. the remote repository. # diff: - cvs diff --unified 2>/dev/null + hg diff # @@ -81,9 +81,9 @@ rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION) perl -pi.bak -e "s/UNRELEASED/$(VERSION)/g" $(DIST_PREFIX)/$(BASE)-$(VERSION)/bin/chronicle - find $(DIST_PREFIX)/$(BASE)-$(VERSION) -name "CVS" -print | xargs rm -rf + find $(DIST_PREFIX)/$(BASE)-$(VERSION) -name ".hg*" -print | xargs rm -rf rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/debian - cd $(DIST_PREFIX) && tar --exclude=.cvsignore -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/ + cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/ gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar mv $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz . rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION) @@ -106,12 +106,12 @@ # -# Update the local copy from the CVS repository. +# Update the local copy from the remote repository. # # NOTE: Removes empty local directories. # update: - cvs -z3 update -A -P -d 2>/dev/null + hg pull --update steve: