[AD] Unix install permissions |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Here is a patch to install liballeg*.so and the alleg-*.so modules with
the execute bit on. Everyone else seems to do it that way, though I
don't really know why.
Peter
Index: makefile.in
===================================================================
RCS file: /cvsroot/alleg/allegro/makefile.in,v
retrieving revision 1.75
diff -u -r1.75 makefile.in
--- makefile.in 7 Jun 2005 11:56:47 -0000 1.75
+++ makefile.in 17 Jul 2005 14:19:53 -0000
@@ -468,16 +468,17 @@
@for l in alleg alld allp; do \
if test -f $(LIBDIR)/lib$${l}-$(shared_version).so; then \
echo Installing $(LIBDIR)/lib$${l}-$(shared_version).so to $(DESTDIR)$(libdir); \
- $(INSTALL_DATA) $(LIBDIR)/lib$${l}-$(shared_version).so $(DESTDIR)$(libdir)/; \
+ $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}-$(shared_version).so $(DESTDIR)$(libdir)/; \
$(INSTALL_DATA) $(LIBDIR)/lib$${l}_unsharable.a $(DESTDIR)$(libdir)/; \
fi; \
done
@if test -n "$(ALLEGRO_MODULE_TARGETS)"; then \
$(mkinstalldirs) $(DESTDIR)$(moduledir); \
- for m in $(ALLEGRO_MODULE_TARGETS) modules.lst; do \
+ for m in $(ALLEGRO_MODULE_TARGETS); do \
echo Installing $$m to $(DESTDIR)$(moduledir); \
- $(INSTALL_DATA) $$m $(DESTDIR)$(moduledir)/; \
+ $(INSTALL_PROGRAM) $$m $(DESTDIR)$(moduledir)/; \
done; \
+ $(INSTALL_DATA) modules.lst $(DESTDIR)$(moduledir)/; \
fi
$(mkinstalldirs) $(DESTDIR)$(bindir)
@echo Installing allegro-config to $(DESTDIR)$(bindir)