Set the install permissions correctly
authorSam Lantinga <slouken@libsdl.org>
Mon, 20 Feb 2006 20:11:08 +0000
changeset 1394 e57f8d1344b6
parent 1393 cd3362657144
child 1395 4eb8c66ce282
Set the install permissions correctly
Makefile.in
--- 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