Skip to content
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

Merged
merged 10 commits into from
Sep 26, 2019
Merged

Simplify Makefile to build all addon subdirs #30

merged 10 commits into from
Sep 26, 2019

Conversation

ninsbl
Copy link
Member

@ninsbl ninsbl commented Sep 15, 2019

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

@ninsbl ninsbl added the question Further information is requested label Sep 15, 2019
grass7/raster/Makefile Outdated Show resolved Hide resolved
grass7/raster/Makefile Outdated Show resolved Hide resolved
@neteler
Copy link
Member

neteler commented Sep 22, 2019

The same works for the vector/Makefile etc., pls consider to expand this PR

@ninsbl
Copy link
Member Author

ninsbl commented Sep 23, 2019

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)?

@neteler
Copy link
Member

neteler commented Sep 26, 2019

Please also update misc/Makefile, then it should be complete (and there is a conflict in grass7/raster/Makefile)

@ninsbl ninsbl removed the question Further information is requested label Sep 26, 2019
@ninsbl ninsbl merged commit 2eb8d7f into OSGeo:master Sep 26, 2019
@ninsbl ninsbl deleted the Makefile branch September 26, 2019 20:56
@neteler neteler changed the title WIP: Simplify Makefile to build all addon subdirs Simplify Makefile to build all addon subdirs Sep 26, 2019
neteler added a commit that referenced this pull request Oct 14, 2019
neteler added a commit that referenced this pull request Jan 29, 2020
* Simplify Makefile to build all i.sentinel subdirs

Approach following #30

* fix for Makefile simplification

* r.futures: Simplify Makefile to build all subdirs
landam pushed a commit to landam/grass-addons that referenced this pull request Dec 10, 2020
* 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
landam pushed a commit to landam/grass-addons that referenced this pull request Dec 10, 2020
* Simplify Makefile to build all i.sentinel subdirs

Approach following OSGeo#30

* fix for Makefile simplification

* r.futures: Simplify Makefile to build all subdirs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants