-setup-deb: is-known-debian-arch
- rm -f debian
- ln -s misc/$(TAHOE_ARCH)/debian debian
- chmod +x debian/rules
-
-# etch (current debian stable) has python-simplejson-1.3, which doesn't
-# support indent=
-# sid (debian unstable) currently has python-simplejson 1.7.1
-# edgy has 1.3, which doesn't support indent=
-# feisty has 1.4, which supports indent= but emits a deprecation warning
-# gutsy has 1.7.1
-#
-# we need 1.4 or newer
-
-deb-ARCH: is-known-debian-arch setup-deb
- fakeroot debian/rules binary
- @echo
- @echo "The newly built .deb packages are in the parent directory from here."
-
-.PHONY: increment-deb-version
-.PHONY: deb-edgy-head deb-feisty-head deb-gutsy-head deb-hardy-head
-.PHONY: deb-etch-head deb-sid-head
-
-# The buildbot runs the following targets after each change, to produce
-# up-to-date tahoe .debs. These steps do not create .debs for anything else.
-
-increment-deb-version: make-version
- debchange --newversion $(VER) $(DEBCOMMENTS)
-deb-sid-head:
- $(MAKE) setup-deb ARCH=sid
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-deb-edgy-head:
- $(MAKE) setup-deb ARCH=edgy TAHOE_ARCH=feisty
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-deb-feisty-head:
- $(MAKE) setup-deb ARCH=feisty
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-deb-etch-head:
- $(MAKE) setup-deb ARCH=etch TAHOE_ARCH=feisty
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-deb-gutsy-head:
- $(MAKE) setup-deb ARCH=gutsy TAHOE_ARCH=feisty
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-deb-hardy-head:
- $(MAKE) setup-deb ARCH=hardy TAHOE_ARCH=feisty
- $(MAKE) increment-deb-version
- fakeroot debian/rules binary
-
-# These targets provide for windows native builds
-.PHONY: windows-exe windows-installer windows-installer-upload
-
-windows-exe: .built
- cd windows && $(PP) $(PYTHON) setup.py py2exe
-
-windows-installer: windows-exe
- $(PP) $(PYTHON) misc/sub-ver.py windows/installer.tmpl >windows/installer.iss
- cd windows && "$(INNOSETUP)" /cc installer.iss
-
-windows-installer-upload:
- chmod -R o+rx windows/dist/installer
- rsync -av -e /usr/bin/ssh windows/dist/installer/ amduser@dev:/home/amduser/public_html/dist/tahoe/windows/
-
-# These targets provide for mac native builds
-.PHONY: mac-exe mac-upload mac-cleanup mac-dbg
-
-mac-exe: .built
- $(MAKE) -C mac clean
- VERSION=$(VER) $(PP) $(MAKE) -C mac build
-
-mac-dist:
- VERSION=$(VER) $(MAKE) -C mac diskimage
-
-mac-upload:
- VERSION=$(VER) $(MAKE) -C mac upload UPLOAD_DEST=$(UPLOAD_DEST)
-
-mac-cleanup:
- VERSION=$(VER) $(MAKE) -C mac cleanup
-
-mac-dbg:
- cd mac && $(PP) $(PYTHON)w allmydata_tahoe.py
-
-# This target runs a stats gatherer server
-.PHONY: stats-gatherer-run
-stats-gatherer-run:
- cd stats_gatherer && $(PP) $(PYTHON) ../src/allmydata/stats.py