# HG changeset patch # User Sam Lantinga # Date 1181886185 0 # Node ID b15ffacb66d3592fb1bce3549d06c0605ac97156 # Parent 85ed90a755fa76425aa855b7b9f3c1a9e8024f24 Don't install the extra SDL config headers or SDL_copying.h Fixes Bugzilla #361. diff -r 85ed90a755fa -r b15ffacb66d3 Makefile.in --- a/Makefile.in Thu Jun 14 14:22:54 2007 +0000 +++ b/Makefile.in Fri Jun 15 05:43:05 2007 +0000 @@ -40,6 +40,8 @@ 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 +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 + LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_RELEASE = @LT_RELEASE@ @@ -84,9 +86,8 @@ $(INSTALL) -m 755 sdl-config $(bindir)/sdl-config install-hdrs: $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL - for src in $(srcdir)/include/*.h; do \ - file=`echo $$src | sed -e 's|^.*/||'`; \ - $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \ + for file in $(HDRS); do \ + $(INSTALL) -m 644 $(srcdir)/include/$$file $(includedir)/SDL/$$file; \ done $(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h install-lib: @@ -110,8 +111,7 @@ uninstall-bin: rm -f $(bindir)/sdl-config uninstall-hdrs: - for src in $(srcdir)/include/*.h; do \ - file=`echo $$src | sed -e 's|^.*/||'`; \ + for file in $(HDRS); do \ rm -f $(includedir)/SDL/$$file; \ done rm -f $(includedir)/SDL/SDL_config.h