all: installed

INITIAL_DIR = build/mongo-python-driver
SOURCE_DIR = src
FILENAME = pymongo-1.10.tar.gz
TARBALL = $(FILENAME)
TARBALL_URL = http://pr.willowgarage.com/downloads/$(FILENAME)
UNPACK_CMD = tar xvzf

include $(shell rospack find mk)/download_unpack_build.mk

installed: wiped $(SOURCE_DIR)/unpacked
	touch installed

wiped: Makefile
ifneq ($(MAKE),)
	$(MAKE) wipe
else
	make wipe
endif
	touch wiped

clean:
	rm -rf INITIAL_DIR
	rm -rf SOURCE_DIR

wipe:	clean
	touch wiped


