correction du Makefile et restriction temporaire des seeds
[auf-django-sdk.git] / Makefile
1 PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
2 TARGET := django_auf django_auf_common django_auf_dev #django_14 squeeze wheezy
3
4 all: $(TARGET)
5
6 requirements/%.txt: seeds/%.txt
7 mkdir -p requirements/
8 freeze-requirements freeze $< -m $@
9
10 sdk/%: requirements/%.txt
11 pip install -r $< -t $@ $(PIP_OPTIONS) --no-deps
12 # FIXME
13 touch sdk/auf/auf/__init__.py || true
14 touch sdk/auf/auf/django/__init__.py || true
15
16 %: sdk/%
17 mkdir -p sdk/
18
19 .PRECIOUS: requirements/%.txt sdk/%
20
21 clean:
22 rm -rf sdk/
23
24 .PHONY: all clean