[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 239004] New: Custom Makefile Project has wrong working directory
From:       António Oliveira <tonesenna () gmail ! com>
Date:       2010-05-27 11:15:17
Message-ID: bug-239004-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=239004

           Summary: Custom Makefile Project has wrong working directory
           Product: kdevelop
           Version: 4.0.0
          Platform: Exherbo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: tonesenna@gmail.com


Version:           4.0.0 (using KDE 4.4.2) 
OS:                Linux

When working on a custom makefile project, I notice that when invoking make,
the working directory is set to ${HOME} instead of the Makefile's own location.

This brings up all sorts of headaches on projects that rely on other
directories which would be referenced as relative paths.

This is a minor issue, but if the working directory was set to the Makefile's
location or if the user had a chance to define the directory himself,
kdevelop's usability would be much greater.

Thanks.

Reproducible: Always

Steps to Reproduce:
Have a Makefile with:

WDIR:=$(shell pwd)
all:
    echo ${WDIR}


Actual Results:  
Invoking this makefile from kdevelop 4 from anywhere yelds the user home
directory.

Expected Results:  
Should print the same directory where make is located

OS: Linux (x86_64) release 2.6.32-22-generic
Compiler: cc

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

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic