-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify Makefile to build all addon subdirs #30
Conversation
|
The same works for the vector/Makefile etc., pls consider to expand this PR |
Yes, it would be the plan to apply this to the other AddOn types (vector, imagery, ...) as well. Now I also committed a solution for filtering out deprecated AddOns; if not building those AddOns by default is the preferred solution. However, maybe it is better to add a DEPRECATED section to the manual instead (and have addons and manuals built)? |
|
Please also update misc/Makefile, then it should be complete (and there is a conflict in grass7/raster/Makefile) |
* Simplify Makefile to build all i.sentinel subdirs Approach following #30 * fix for Makefile simplification * r.futures: Simplify Makefile to build all subdirs
* Simplify Makefile to build all subdirs * Filter out subdirs containing DEPRECATED file * Filter out subdirs containing DEPRECATED file * Apply to other Makefiles * Replaced by r.out.gdal * Replaced by r.out.gdal * Replaced by r.in.gdal/r.import * Simplify misc Makefile accordingly * Further clean raster Makefile
* Simplify Makefile to build all i.sentinel subdirs Approach following OSGeo#30 * fix for Makefile simplification * r.futures: Simplify Makefile to build all subdirs
Please test this modified example Makefile for raster addons in GRASS 7.
After the modification, all subdirs are listed and thus build by default, so addon-devs do not have to add new modules manually (and deleted / moved addons do not have to be removed from the Makefile). If it is an acceptable solution, Makefiles for vector imagery and so on can be adjusted accordingly.
It would however probably require to find a solution for "deprecated" addons.
Not sure if it works with all versions of make...
See: https://trac.osgeo.org/grass/ticket/3901