Install the aclocal macros for use by Winelib apps.

This commit is contained in:
Alexandre Julliard 2002-08-02 19:34:21 +00:00
parent 4b92255cec
commit 1d8d0171bb
3 changed files with 17 additions and 3 deletions

View File

@ -101,6 +101,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
datadir = @datadir@
infodir = @infodir@
mandir = @mandir@
sysconfdir = @sysconfdir@

View File

@ -82,11 +82,15 @@ wine: $(WINEWRAPPER)
# Installation rules
install-aclocal: dummy
$(MKINSTALLDIRS) $(datadir)/aclocal
$(INSTALL_DATA) $(SRCDIR)/aclocal.m4 $(datadir)/aclocal/wine.m4
install-lib:: $(INSTALLLIBSUBDIRS:%=%/__install__)
install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__)
install-dev:: $(INSTALLDEVSUBDIRS:%=%/__install__) install-aclocal
install::
install:: install-aclocal
-$(LDCONFIG)
@if test -n "`LANG=C $(LDD) $(bindir)/wine|grep not.found`"; \
then \
@ -100,7 +104,11 @@ install::
echo "*************************************************" ; \
fi
.PHONY: install-lib install-dev
uninstall::
$(RM) $(datadir)/aclocal/wine.m4
-rmdir $(datadir)/aclocal
.PHONY: install-aclocal install-lib install-dev
# Dependencies between directories

5
aclocal.m4 vendored
View File

@ -16,6 +16,11 @@ dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this library; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl
dnl As a special exception to the GNU Lesser General Public License,
dnl if you distribute this file as part of a program that contains a
dnl configuration script generated by Autoconf, you may include it
dnl under the same distribution terms that you use for the rest of
dnl that program.
dnl **** Get the ldd program name; used by WINE_GET_SONAME ****
dnl