From edd86e5b73ae84cff4f516cc6400beea7e2e8083 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 15 Jun 2007 05:41:22 +0000 Subject: [PATCH] Don't install the extra SDL config headers or SDL_copying.h Fixes Bugzilla #361. --- Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9b1112bfd..6d18f3791 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,6 +40,8 @@ SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html EpocBuildFiles.zip include INSTALL Makefile.dc Makefile.minimal Makefile.in MPWmake.sea.bin 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_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.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_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-bin: $(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: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-m 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