You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
834 B

  1. diff -rupN seafile-seahub-5.1.1.orig/Makefile seafile-seahub-5.1.1/Makefile
  2. --- seafile-seahub-5.1.1.orig/Makefile 2016-04-26 23:59:48.000000000 +0200
  3. +++ seafile-seahub-5.1.1/Makefile 2016-04-28 09:03:35.507105416 +0200
  4. @@ -1,3 +1,6 @@
  5. +include $(TOPDIR)/rules.mk
  6. +$(call include_mk, python-package.mk)
  7. +
  8. PROJECT=seahub
  9. develop: setup-git
  10. @@ -9,7 +12,7 @@ dist: locale uglify statici18n collectst
  11. locale:
  12. @echo "--> Compile locales"
  13. - django-admin.py compilemessages
  14. + $(call HostPython,,$(STAGING_DIR)/usr/bin/django-admin.py compilemessages)
  15. @echo ""
  16. uglify:
  17. @@ -19,7 +22,7 @@ uglify:
  18. statici18n:
  19. @echo "--> Generate JS locale files in static/scripts/i18n"
  20. - python manage.py compilejsi18n
  21. + $(call HostPython,,manage.py compilejsi18n)
  22. collectstatic:
  23. @echo "--> Collect django static files to media/assets"