Makefile.in
changeset 12713 8ed803255020
parent 12673 95689b6959db
child 12998 b87ba0fad17e
     1.1 --- a/Makefile.in	Tue Apr 23 14:24:58 2019 +0200
     1.2 +++ b/Makefile.in	Sun Apr 07 23:01:07 2019 +1000
     1.3 @@ -44,6 +44,8 @@
     1.4  
     1.5  WAYLAND_SCANNER = @WAYLAND_SCANNER@
     1.6  
     1.7 +INSTALL_SDL2_CONFIG = @INSTALL_SDL2_CONFIG@
     1.8 +
     1.9  SRC_DIST = *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.ac debian docs include Makefile.* sdl2-config.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC.html VisualC VisualC-WinRT Xcode Xcode-iOS wayland-protocols
    1.10  GEN_DIST = SDL2.spec
    1.11  
    1.12 @@ -155,8 +157,11 @@
    1.13  
    1.14  install: all install-bin install-hdrs install-lib install-data
    1.15  install-bin:
    1.16 +ifeq ($(INSTALL_SDL2_CONFIG),TRUE)
    1.17  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
    1.18  	$(INSTALL) -m 755 sdl2-config $(DESTDIR)$(bindir)/sdl2-config
    1.19 +endif
    1.20 +
    1.21  install-hdrs: update-revision
    1.22  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL2
    1.23  	for file in $(HDRS) $(SDLTEST_HDRS); do \
    1.24 @@ -179,8 +184,10 @@
    1.25  	$(INSTALL) -m 644 $(srcdir)/sdl2.m4 $(DESTDIR)$(datadir)/aclocal/sdl2.m4
    1.26  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
    1.27  	$(INSTALL) -m 644 sdl2.pc $(DESTDIR)$(libdir)/pkgconfig
    1.28 +ifeq ($(INSTALL_SDL2_CONFIG),TRUE)
    1.29  	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/cmake/SDL2
    1.30  	$(INSTALL) -m 644 sdl2-config.cmake $(DESTDIR)$(libdir)/cmake/SDL2
    1.31 +endif
    1.32  
    1.33  uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data
    1.34  uninstall-bin: