diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-02 22:54:10 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-02 22:54:10 -0300 |
commit | 4ce84837520f8c56ae998d5d2d98380faf3e3eb5 (patch) | |
tree | b22e90f4dc9b313fbc814852c874e4fb31a8d0c7 /libre/parabolaweb-git/Makefile | |
parent | 5f74139e49aec90fef556447373608db10d9f1e6 (diff) | |
parent | 96b3ccdea0907e8df071273f302e1640b05d07c6 (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'libre/parabolaweb-git/Makefile')
-rw-r--r-- | libre/parabolaweb-git/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libre/parabolaweb-git/Makefile b/libre/parabolaweb-git/Makefile new file mode 100644 index 000000000..55115aba3 --- /dev/null +++ b/libre/parabolaweb-git/Makefile @@ -0,0 +1,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 |