ne pas inclure /docs/_build
[auf-django-sdk.git] / Makefile
CommitLineData
9db76584 1PIP_OPTIONS := --extra-index-url=https://pypi.auf.org/
21d345a0 2FREEZE_OPTIONS := --exclude-requirements seeds/squeeze.txt
9bffaf95 3TARGET := django14_auf django14_base django14_extra django14_dev django13 # squeeze wheezy
9db76584
PH
4
5all: $(TARGET)
6
7requirements/%.txt: seeds/%.txt
8 mkdir -p requirements/
03a24069 9 freeze-requirements freeze $< -m $@ $(FREEZE_OPTIONS)
9db76584 10
cc6471b6
PH
11sdk/%: requirements/%.txt
12 pip install -r $< -t $@ $(PIP_OPTIONS) --no-deps
9db76584 13 # FIXME
55491229
PH
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 {} \;
9db76584 17
cc6471b6
PH
18%: sdk/%
19 mkdir -p sdk/
20
55491229
PH
21deb:
22 debuild -I.git -I*.ex -b -us -uc
23
24install:
9db76584
PH
25
26clean:
55491229 27 #rm -rf sdk/
9db76584 28
55491229 29.PRECIOUS: requirements/%.txt sdk/%
9db76584 30.PHONY: all clean