diff Makefile.in @ 1394:e57f8d1344b6

Set the install permissions correctly
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 Feb 2006 20:11:08 +0000
parents cd3362657144
children b189a73aa335
line wrap: on
line diff
--- a/Makefile.in	Mon Feb 20 20:08:29 2006 +0000
+++ b/Makefile.in	Mon Feb 20 20:11:08 2006 +0000
@@ -64,20 +64,20 @@
 	$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
 	for src in $(srcdir)/include/*.h; do \
 	    file=`echo $$src | sed -e 's|^.*/||'`; \
-	    $(INSTALL) $$src $(includedir)/SDL/$$file; \
+	    $(INSTALL) -m 644 $$src $(includedir)/SDL/$$file; \
 	done
-	$(INSTALL) include/SDL_config.h $(includedir)/SDL/SDL_config.h
+	$(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
 install-lib:
 	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
 install-data:
 	$(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
-	$(INSTALL) $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
+	$(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
 install-man:
 	$(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3
 	for src in $(srcdir)/docs/man3/*.3; do \
 	    file=`echo $$src | sed -e 's|^.*/||'`; \
-	    $(INSTALL) $$src $(mandir)/man3/$$file; \
+	    $(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \
 	done
 
 uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-man