Index: mobile/android/build.mk |
=================================================================== |
--- a/mobile/android/build.mk |
+++ b/mobile/android/build.mk |
@@ -7,11 +7,9 @@ |
installer: |
@$(MAKE) -C mobile/android/installer installer |
-abp_source_dir=$(topsrcdir)/adblockplus |
-abp_xpi_file=\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d\}.xpi |
-package_abp: $(abp_source_dir) |
- cd $(abp_source_dir); ./build.py build $(abp_xpi_file) |
- $(INSTALL_DATA) $(abp_source_dir)/$(abp_xpi_file) $(DIST)/bin/extensions |
+package_abp: |
+ $(MKDIR) -p $(DIST)/bin/extensions |
+ PYTHONPATH="$(topsrcdir)/adblockplus/adblockplus" $(topsrcdir)/adblockplus/build.py build $(DIST)/bin/extensions/\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d\}.xpi |
Felix Dahlke
2015/03/13 22:22:37
Was hoping this would get a lot less hacky, but it
|
package: package_abp |
@$(MAKE) -C mobile/android/installer |