- --- a/Makefile
- +++ b/Makefile
- @@ -1,3 +1,6 @@
- +include $(TOPDIR)/rules.mk
- +include $(TOPDIR)/feeds/packages/lang/python/python-package.mk
- +
- PROJECT=seahub
-
- develop: setup-git
- @@ -9,7 +12,7 @@ dist: locale uglify statici18n collectst
-
- locale:
- @echo "--> Compile locales"
- - django-admin.py compilemessages
- + $(call HostPython,,$(STAGING_DIR)/usr/bin/django-admin.py compilemessages)
- @echo ""
-
- uglify:
- @@ -19,17 +22,17 @@ uglify:
-
- statici18n:
- @echo "--> Generate JS locale files in static/scripts/i18n"
- - python manage.py compilejsi18n
- + $(call HostPython,,manage.py compilejsi18n)
-
- collectstatic:
- @echo "--> Collect django static files to media/assets"
- rm -rf media/assets 2> /dev/null
- - python manage.py collectstatic --noinput
- + $(call HostPython,,manage.py collectstatic --noinput)
-
- compressstatic:
- @echo "--> Compress static files(css) to media/CACHE"
- rm -rf media/CACHE 2> /dev/null
- - python manage.py compress
- + $(call HostPython,,manage.py compress)
-
- clean:
- @echo '--> Cleaning media/static cache & dist'
|