Don't install the extra SDL config headers or SDL_copying.h
authorSam Lantinga <slouken@libsdl.org>
Fri, 15 Jun 2007 05:43:05 +0000
changeset 2122b15ffacb66d3
parent 2121 85ed90a755fa
child 2123 9a48d1a6fbec
Don't install the extra SDL config headers or SDL_copying.h

Fixes Bugzilla #361.
Makefile.in
     1.1 --- a/Makefile.in	Thu Jun 14 14:22:54 2007 +0000
     1.2 +++ b/Makefile.in	Fri Jun 15 05:43:05 2007 +0000
     1.3 @@ -40,6 +40,8 @@
     1.4  
     1.5  DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS docs docs.html EpocBuildFiles.zip include INSTALL Makefile.dc Makefile.minimal Makefile.in README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip WhatsNew Xcode.tar.gz
     1.6  
     1.7 +HDRS = SDL.h SDL_audio.h SDL_cdrom.h SDL_compat.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_pixels.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h
     1.8 +
     1.9  LT_AGE      = @LT_AGE@
    1.10  LT_CURRENT  = @LT_CURRENT@
    1.11  LT_RELEASE  = @LT_RELEASE@
    1.12 @@ -84,9 +86,8 @@
    1.13  	$(INSTALL) -m 755 sdl-config $(bindir)/sdl-config
    1.14  install-hdrs:
    1.15  	$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
    1.16 -	for src in $(srcdir)/include/*.h; do \
    1.17 -	    file=`echo $$src | sed -e 's|^.*/||'`; \
    1.18 -	    $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \
    1.19 +	for file in $(HDRS); do \
    1.20 +	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(includedir)/SDL/$$file; \
    1.21  	done
    1.22  	$(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
    1.23  install-lib:
    1.24 @@ -110,8 +111,7 @@
    1.25  uninstall-bin:
    1.26  	rm -f $(bindir)/sdl-config
    1.27  uninstall-hdrs:
    1.28 -	for src in $(srcdir)/include/*.h; do \
    1.29 -	    file=`echo $$src | sed -e 's|^.*/||'`; \
    1.30 +	for file in $(HDRS); do \
    1.31  	    rm -f $(includedir)/SDL/$$file; \
    1.32  	done
    1.33  	rm -f $(includedir)/SDL/SDL_config.h