Menu

#8 $(wildcard) allows separate build directory

open
nobody
None
5
2012-04-18
2012-04-18
Cycy
No

Several *.png, *.pl etc files need to be $(wildcard <glob>) instead of just <glob> otherwise they fail when you try to build kildclient in a separate directory from the source. Changing to $(wildcard <glob>) globs in the proper source directory allowing for a separate build dir.

To demonstrate:
<clone kildclient>
mkdir -p build/kildclient
cd build/kildclient
../../kildclient/configure ...
make => can't find *.pl

Patch compiled and tested. Works great.

Discussion

  • Cycy

    Cycy - 2012-04-18
     
  • Eduardo M Kalinowski

    I've tried the patch, and while it removes the error you described, it didn't work for me: the *.pl files did not get installed. Moreover, the source does not compile because the flags necessary for perl were not included in the command line. I believe that happens because they are obtained with the getperlflags.pl script in the main directory, which is not found if configure is run from another build dir.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.