Skip to content
Permalink
Browse files

Set the install permissions correctly

  • Loading branch information
slouken committed Feb 20, 2006
1 parent 72d7d0a commit 8781660aa93e963fcbb3f2375a6c531d8bddb215
Showing with 4 additions and 4 deletions.
  1. +4 −4 Makefile.in
@@ -64,20 +64,20 @@ install-hdrs:
$(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

0 comments on commit 8781660

Please sign in to comment.