Création d'un paquet Debian
[auf-django-sdk.git] / Makefile
... / ...
CommitLineData
1PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
2FREEZE_OPTIONS := --exclude-requirements seeds/squeeze.txt
3TARGET := django_auf django_latest django_14 django_13 django_auf_dev # squeeze wheezy
4
5all: $(TARGET)
6
7requirements/%.txt: seeds/%.txt
8 mkdir -p requirements/
9 freeze-requirements freeze $< -m $@ $(FREEZE_OPTIONS)
10
11sdk/%: requirements/%.txt
12 pip install -r $< -t $@ $(PIP_OPTIONS) --no-deps
13 # FIXME
14 touch sdk/auf/auf/__init__.py || true
15 touch sdk/auf/auf/django/__init__.py || true
16
17%: sdk/%
18 mkdir -p sdk/
19
20.PRECIOUS: requirements/%.txt sdk/%
21
22clean:
23 rm -rf sdk/
24
25.PHONY: all clean