ne pas inclure /docs/_build
[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 := django14_auf django14_base django14_extra django14_dev django13 # 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/django_auf/auf/__init__.py || true
15 touch sdk/django_auf/auf/django/__init__.py || true
16 find sdk/ -name "*.pyc" -exec rm -rf {} \;
17
18 %: sdk/%
19 mkdir -p sdk/
20
21 deb:
22 debuild -I.git -I*.ex -b -us -uc
23
24 install:
25
26 clean:
27 #rm -rf sdk/
28
29 .PRECIOUS: requirements/%.txt sdk/%
30 .PHONY: all clean