http://bugs.freedesktop.org/show_bug.cgi?id=16053

           Summary: install target does wrong thing with symlinks
           Product: Mesa
           Version: CVS
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


When building Mesa, I make a symlink copy of the source tree with lndir. 
Building like this has work for over 5 years.  However, now the install make
target does the wrong thing with respect to include files.  Instead of
dereferencing the symlinks and copying the files, it copies the symlinks.  So I
end up with /opt/xorg-master-x86_64/include/GL filled with:

lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 amesa.h ->
../../../Mesa/include/GL/amesa.h
lrwxrwxrwx 1 idr idr    37 2008-05-21 17:56 directfbgl.h ->
../../../Mesa/include/GL/directfbgl.h
lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 dmesa.h ->
../../../Mesa/include/GL/dmesa.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 foomesa.h ->
../../../Mesa/include/GL/foomesa.h
lrwxrwxrwx 1 idr idr    33 2008-05-21 17:56 fxmesa.h ->
../../../Mesa/include/GL/fxmesa.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 ggimesa.h ->
../../../Mesa/include/GL/ggimesa.h
lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 glext.h ->
../../../Mesa/include/GL/glext.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 glfbdev.h ->
../../../Mesa/include/GL/glfbdev.h
lrwxrwxrwx 1 idr idr    29 2008-05-21 17:56 gl.h ->
../../../Mesa/include/GL/gl.h
lrwxrwxrwx 1 idr idr    36 2008-05-21 17:56 gl_mangle.h ->
../../../Mesa/include/GL/gl_mangle.h
lrwxrwxrwx 1 idr idr    30 2008-05-21 17:56 glu.h ->
../../../Mesa/include/GL/glu.h
lrwxrwxrwx 1 idr idr    37 2008-05-21 17:56 glu_mangle.h ->
../../../Mesa/include/GL/glu_mangle.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 glutf90.h ->
../../../Mesa/include/GL/glutf90.h
lrwxrwxrwx 1 idr idr    31 2008-05-21 17:56 glut.h ->
../../../Mesa/include/GL/glut.h
lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 GLwDrawA.h ->
../../../Mesa/src/glw/GLwDrawA.h
lrwxrwxrwx 1 idr idr    33 2008-05-21 17:56 GLwDrawAP.h ->
../../../Mesa/src/glw/GLwDrawAP.h
lrwxrwxrwx 1 idr idr    33 2008-05-21 17:56 GLwMDrawA.h ->
../../../Mesa/src/glw/GLwMDrawA.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 GLwMDrawAP.h ->
../../../Mesa/src/glw/GLwMDrawAP.h
lrwxrwxrwx 1 idr idr    33 2008-05-21 17:56 glxext.h ->
../../../Mesa/include/GL/glxext.h
lrwxrwxrwx 1 idr idr    30 2008-05-21 17:56 glx.h ->
../../../Mesa/include/GL/glx.h
-rw-r--r-- 1 idr idr  4257 2008-05-21 13:09 glxint.h
lrwxrwxrwx 1 idr idr    37 2008-05-21 17:56 glx_mangle.h ->
../../../Mesa/include/GL/glx_mangle.h
-rw-r--r-- 1 idr idr  2453 2008-05-21 13:09 glxmd.h
-rw-r--r-- 1 idr idr 77887 2008-05-21 13:09 glxproto.h
-rw-r--r-- 1 idr idr 10613 2008-05-21 13:09 glxtokens.h
drwxrwxr-x 2 idr idr  4096 2008-05-21 17:56 internal
lrwxrwxrwx 1 idr idr    35 2008-05-21 17:56 mesa_wgl.h ->
../../../Mesa/include/GL/mesa_wgl.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 mglmesa.h ->
../../../Mesa/include/GL/mglmesa.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 miniglx.h ->
../../../Mesa/include/GL/miniglx.h
lrwxrwxrwx 1 idr idr    33 2008-05-21 17:56 osmesa.h ->
../../../Mesa/include/GL/osmesa.h
lrwxrwxrwx 1 idr idr    35 2008-05-21 17:56 svgamesa.h ->
../../../Mesa/include/GL/svgamesa.h
lrwxrwxrwx 1 idr idr    40 2008-05-21 17:56 uglglutshapes.h ->
../../../Mesa/include/GL/uglglutshapes.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 uglmesa.h ->
../../../Mesa/include/GL/uglmesa.h
lrwxrwxrwx 1 idr idr    36 2008-05-21 17:56 vms_x_fix.h ->
../../../Mesa/include/GL/vms_x_fix.h
lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 wmesa.h ->
../../../Mesa/include/GL/wmesa.h
lrwxrwxrwx 1 idr idr    32 2008-05-21 17:56 xmesa.h ->
../../../Mesa/include/GL/xmesa.h
lrwxrwxrwx 1 idr idr    37 2008-05-21 17:56 xmesa_xf86.h ->
../../../Mesa/include/GL/xmesa_xf86.h
lrwxrwxrwx 1 idr idr    34 2008-05-21 17:56 xmesa_x.h ->
../../../Mesa/include/GL/xmesa_x.h


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to