changeset 3961:4b093ecae4a7 SDL-1.2

Don't install the extra SDL config headers or SDL_copying.h Fixes Bugzilla #361.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 15 Jun 2007 05:41:22 +0000
parents f5daa62ce1c4
children 7cdb1d7fc93b
files Makefile.in
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Fri Jun 15 05:21:33 2007 +0000
+++ b/Makefile.in	Fri Jun 15 05:41:22 2007 +0000
@@ -40,6 +40,8 @@
 
 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) -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