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