Skip to content

Commit

Permalink
autotools: remove extra CMake config files on uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Jan 5, 2025
1 parent dd59cc5 commit c91323d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,6 @@ install-data-local:
uninstall-hook:
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/sdl2_image-config.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/sdl2_image-config-version.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/Findlibjxl.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/Findwebp.cmake
rm -r $(DESTDIR)$(libdir)/cmake/SDL2_image
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,8 @@ install-data-local:
uninstall-hook:
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/sdl2_image-config.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/sdl2_image-config-version.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/Findlibjxl.cmake
rm $(DESTDIR)$(libdir)/cmake/SDL2_image/Findwebp.cmake
rm -r $(DESTDIR)$(libdir)/cmake/SDL2_image

# Tell versions [3.59,3.63) of GNU make to not export all variables.
Expand Down

0 comments on commit c91323d

Please sign in to comment.