diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-08-17 15:38:00 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-08-17 15:38:00 -0700 |
commit | 4a15088324439c4c224b841117848782bbb4f7f3 (patch) | |
tree | 9d5b77d72c7eb2bc1520c1e1bda5daef8f93ccd5 /Makefile.private | |
parent | 50cfc138c9de5012848006141e5a916afc074350 (diff) | |
download | syslinux-4a15088324439c4c224b841117848782bbb4f7f3.tar.gz |
Target to upload a prerelease
Diffstat (limited to 'Makefile.private')
-rw-r--r-- | Makefile.private | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.private b/Makefile.private index 192c38d9..0f835e79 100644 --- a/Makefile.private +++ b/Makefile.private @@ -1,6 +1,6 @@ ## -*- makefile -*- ------------------------------------------------------ ## -## Copyright 2000-2005 H. Peter Anvin - All Rights Reserved +## Copyright 2000-2006 H. Peter Anvin - All Rights Reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -22,6 +22,8 @@ PRIVATE = Makefile.private .depend */.depend GIT_DIR ?= .git ABS_GIT_DIR := $(shell cd '$(GIT_DIR)' && pwd) +-include Makefile.secret + isolinux.iso: all cp isolinux-debug.bin isolinux-test/isolinux/isolinux.bin mkisofs -v -r -J \ @@ -95,6 +97,13 @@ prerel: zip -9r ../$(PREREL).zip * expr $(PRERELNO) + 1 > $(PRERELDIR)/.prerel +LATEST_PRERELNO := $(shell expr $(PRERELNO) - 1) +LATEST_PREREL := syslinux-$(VERSION)-pre$(LATEST_PRERELNO) + unprerel: - expr $(PRERELNO) - 1 > $(PRERELDIR)/.prerel - @echo Next release will be syslinux-$(VERSION)-pre`cat $(PRERELDIR)/.prerel` + echo $(LATEST_PRERELNO) > $(PRERELDIR)/.prerel + @echo Next release will be $(LATEST_PREREL) + +preupload: + scp release/$(PRERELDIR)/$(LATEST_PREREL).* $(UPLOAD)/Testing + cg-push -t $(LATEST_PREREL) |