adaptation pour les seeds django_latest, django_14 et django_13
[auf-django-sdk.git] / Makefile
1 PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
2 FREEZE_OPTIONS := --exclude-requirements seeds/squeeze.txt
3 TARGET := django_auf django_latest django_14 django_13 django_auf_dev # squeeze wheezy
4
5 all: $(TARGET)
6
7 requirements/%.txt: seeds/%.txt
8 mkdir -p requirements/
9 freeze-requirements freeze $< -m $@ $(FREEZE_OPTIONS)
10
11 sdk/%: 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
22 clean:
23 rm -rf sdk/
24
25 .PHONY: all clean