Skip to content

Commit

Permalink
Set the install permissions correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 20, 2006
1 parent 72d7d0a commit 8781660
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.in
Expand Up @@ -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
Expand Down

0 comments on commit 8781660

Please sign in to comment.