summaryrefslogtreecommitdiff
path: root/~lukeshu/parabolaweb-git/Makefile
blob: 55115aba3ac912bf66bd5803569916f10a1cd7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
all:
	makepkg

python_packages=south
python2_packages=markdown|psycopg2|pyinotify|pytz
requirements= https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt

requirements_prod.txt: WEB
	rm -f $@
	wget --no-check-certificate $(requirements)

deps-ver.txt: requirements_prod.txt
	sed -r -e 's/.*/\L&/' -e 's/==/=/' \
	 -e 's/^(${python_packages})/python-&/' \
	 -e 's/^(${python2_packages})/python2-&/' $< >$@

deps-nover.txt: deps-ver.txt
	sed 's/[<>=].*//' $< >$@

clean:
	rm requirements_prod.txt deps-ver.txt deps-nover.txt

WEB: FORCE
FORCE: PHONY
PHONY:
.PHONY: PHONY