ne pas inclure /docs/_build
[auf-django-sdk.git] / Makefile
... / ...
CommitLineData
1PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
2FREEZE_OPTIONS := --exclude-requirements seeds/squeeze.txt
3TARGET := django14_auf django14_base django14_extra django14_dev django13 # 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/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
21deb:
22 debuild -I.git -I*.ex -b -us -uc
23
24install:
25
26clean:
27 #rm -rf sdk/
28
29.PRECIOUS: requirements/%.txt sdk/%
30.PHONY: all clean