[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcaca] Minor problem in libcaca install



Hello,
The problem is :
~/libcaca-svn # make install
...
~/libcaca-svn # make install
...
Making install in doc
make[1]: Entering directory `/home/chtitux/src/libcaca-svn/doc'
make[2]: Entering directory `/home/chtitux/src/libcaca-svn/doc'
make[2]: Nothing to be done for `install-exec-am'.
mkdir -p /usr/local/share/doc
ln -s libcaca-dev /usr/local/share/doc/libcucul-dev
ln: creating symbolic link
`/usr/local/share/doc/libcucul-dev/libcaca-dev': File exists
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/chtitux/src/libcaca-svn/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/chtitux/src/libcaca-svn/doc'
make: *** [install-recursive] Error 1
home libcaca-svn # svn info
Path: .
URL: svn://svn.zoy.org/libcaca/libcaca/trunk
Repository Root: svn://svn.zoy.org/libcaca
Repository UUID: 92316355-f0b4-4df1-b90c-862c8a59935f
Revision: 3116
Node Kind: directory
Schedule: normal
Last Changed Author: nico
Last Changed Rev: 3115
Last Changed Date: 2008-10-27 00:33:02 +0100 (Mon, 27 Oct 2008)

Here's the patch ;)
Index: Makefile.am
===================================================================
--- Makefile.am (revision 3116)
+++ Makefile.am (working copy)
@@ -44,7 +44,7 @@
 install-data-local:
 if BUILD_DOCUMENTATION
        mkdir -p $(DESTDIR)$(datadir)/doc
-       ln -s libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
+       ln -sf libcaca-dev $(DESTDIR)$(datadir)/doc/libcucul-dev
        $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/libcaca-dev/html
        cp `find html -name '*.html' -o -name '*.gif' -o -name '*.png'` \
          $(DESTDIR)$(datadir)/doc/libcaca-dev/html

Bye

-- 
Chtitux -
Théophile Helleboid
-- 
This is the Caca Labs mailing-list, see http://caca.zoy.org/
Trouble unsubscribing? Please contact <sam@zoy.org>
List archives are at http://caca.zoy.org/list/