diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-05-29 15:33:50 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-05-29 15:33:50 -0700 |
commit | 94f08ee8ab71585024fc5598da6087dd6c85c3ac (patch) | |
tree | 99edfc6f02a83e5511a6fc07f1e6d0850d56f6ef | |
parent | b536209dfb7bd50c37061735fe10d2c19a97d26d (diff) | |
download | syslinux-94f08ee8ab71585024fc5598da6087dd6c85c3ac.tar.gz |
Stop using Cogito
Replace remaining Cogito commands with plain git commands.
-rw-r--r-- | Makefile.private | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.private b/Makefile.private index cff40f92..8f7793dd 100644 --- a/Makefile.private +++ b/Makefile.private @@ -42,11 +42,12 @@ official: release: test -d release - rm -f '$(GIT_DIR)'/refs/tags/syslinux-$(VERSION) - cg-tag -f syslinux-$(VERSION) + git tag -a -m syslinux-$(VERSION) -f syslinux-$(VERSION) -rm -rf release/syslinux-$(VERSION) -rm -f release/syslinux-$(VERSION).* - cd release && env GIT_DIR='$(ABS_GIT_DIR)' cg-export -r syslinux-$(VERSION) syslinux-$(VERSION) + mkdir -p release/syslinux-$(VERSION) + git archive --format=tar syslinux-$(VERSION) | \ + tar -x -f - -C release/syslinux-$(VERSION) find release/syslinux-$(VERSION) \ \( -name '*~' -or -name '#*' \) -type f -print0 | \ xargs -0rt rm -f @@ -70,12 +71,12 @@ RPMPREREL := $(shell $(PERL) -e 'printf "%.2f.%d\n", $(VERSION)-0.01, $(PRERELNO prerel: test -d release - rm -f '$(GIT_DIR)'/refs/tags/$(PREREL) - cg-tag $(PREREL) + git tag -a -m $(PREREL) -f $(PREREL) mkdir -p $(PRERELDIR) $(PRERELDIR)/uu -rm -rf $(PRERELDIR)/$(PREREL) -rm -f $(PRERELDIR)/$(PREREL).* - cd $(PRERELDIR) && env GIT_DIR='$(ABS_GIT_DIR)' cg-export -r $(PREREL) $(PREREL) + git archive --format=tar $(PREREL) | \ + tar -x -f - -C $(PRERELDIR)/$(PREREL) find $(PRERELDIR)/$(PREREL) \ \( -name '*~' -or -name '#*' \) -type f -print0 | \ xargs -0rt rm -f |