mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Set the install permissions correctly
This commit is contained in:
parent
4511ef7380
commit
0d9407f313
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user