lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

020-Makefile-fixes.patch (834B)


      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  
     10  develop: setup-git
     11 @@ -9,7 +12,7 @@ dist: locale uglify statici18n collectst
     12  
     13  locale:
     14  	@echo "--> Compile locales"
     15 -	django-admin.py compilemessages
     16 +	$(call HostPython,,$(STAGING_DIR)/usr/bin/django-admin.py compilemessages)
     17  	@echo ""
     18  
     19  uglify:
     20 @@ -19,7 +22,7 @@ uglify:
     21  
     22  statici18n:
     23  	@echo "--> Generate JS locale files in static/scripts/i18n"
     24 -	python manage.py compilejsi18n
     25 +	$(call HostPython,,manage.py compilejsi18n)
     26  
     27  collectstatic:
     28  	@echo "--> Collect django static files to media/assets"