# -*-Makefile-*- PACKAGE = git ALL_PLATFORMS=mingw MINGIT_BRANCH_FILEIFIED=$(subst /,--,$(MINGIT_BRANCH)) MINGIT_LOCAL_BRANCH=$(MINGIT_BRANCH_FILEIFIED)-repo.or.cz-git-mingw.git default: all PLATFORMS = mingw include gub.make include compilers.make GPKG_OPTIONS=--branch git=$(MINGIT_LOCAL_BRANCH) GUB_OPTIONS=\ -v -v -v \ --branch git=$(MINGIT_BRANCH):$(MINGIT_LOCAL_BRANCH) INSTALLER_BUILDER_OPTIONS=\ -vvv\ --branch=git=$(MINGIT_LOCAL_BRANCH)\ --version-db=uploads/git.versions \ all: $(PLATFORMS) download: $(foreach p, $(PLATFORMS), $(call INVOKE_GUB,$(p)) --online --stage=download git && ) true $(MAKE) -f mingit.make update-versions bootstrap: download download-tools: $(GUB) $(LOCAL_GUB_OPTIONS) --platform=tools\ --stage=download \ git pkg-config nsis icoutils tools: cd librestrict && make -f GNUmakefile $(GUB) $(LOCAL_GUB_OPTIONS) --platform=tools git mingw: $(call BUILD,$@,git) update-versions: python gub/versiondb.py --no-sources --url http://lilypond.org/git --dbfile uploads/git.versions --download --platforms="$(PLATFORMS)" LAST_GIT=$(shell ls -1 -t uploads/git*.exe|head -1) TAG=gub-release-mingw-git-$(subst uploads/git-,,$(LAST_GIT)) upload: rsync --delay-updates -v --progress $(LAST_GIT) hanwen@lilypond.org:www/git/binaries/mingw/ $(MAKE) -f mingit.make update-versions git tag $(TAG) git push ssh+git://git.sv.gnu.org/srv/git/lilypond.git $(TAG):refs/tags/$(TAG)