[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
automake 1.6.2 and ln -s
From: |
Andreas Buening |
Subject: |
automake 1.6.2 and ln -s |
Date: |
Fri, 21 Jun 2002 00:48:01 +0200 |
Hello!
automake uses ln -s for the installation. I've changed
configure.in and Makefile.am so that now $(LN_S) is used
(which means cp -p if ln -s fails)
------------------------------
--- old/automake-1.6.2/configure.in Fri Jun 14 07:13:54 2002
+++ gnu/automake-1.6.2/configure.in Thu Jun 20 22:48:22 2002
@@ -36,6 +36,8 @@
APIVERSION=`echo "$VERSION" | sed -e
's/^\([[0-9]]*\.[[0-9]]*[[a-z]]*\).*$/\1/'`
AC_SUBST(APIVERSION)
+AC_PROG_LN_S
+
# A versioned directory, defined here for convenience.
pkgvdatadir="\${datadir}/automake-${APIVERSION}"
AC_SUBST(pkgvdatadir)
------------------------------
------------------------------
--- old/automake-1.6.2/Makefile.am Mon Jun 10 09:43:28 2002
+++ gnu/automake-1.6.2/Makefile.am Thu Jun 20 22:50:28 2002
@@ -45,8 +45,8 @@
f="`echo $$p|sed '$(transform)'`"; \
fv="$$f-$(APIVERSION)"; \
rm -f $(DESTDIR)$(bindir)/$$fv; \
- echo " ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
- ln $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
+ echo " $(LN_S) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv"; \
+ $(LN_S) $(DESTDIR)$(bindir)/$$f $(DESTDIR)$(bindir)/$$fv; \
done
uninstall-hook:
------------------------------
Please reply directly to me because I haven't subscribed
to any automake mailing list.
bye,
Andreas
- automake 1.6.2 and ln -s,
Andreas Buening <=