]> git.llucax.com Git - software/makeit.git/commit
Add a function to include sub-directory's Build.mak
authorLeandro Lucarella <llucarella@integratech.com.ar>
Mon, 21 Sep 2009 16:34:37 +0000 (13:34 -0300)
committerLeandro Lucarella <llucarella@integratech.com.ar>
Thu, 24 Sep 2009 13:38:30 +0000 (10:38 -0300)
commit9296c29f3d6486381d7df1fc5bcac8da21cc7b0d
treefd16aad21679af335f744fc978fad4e0e33d1cd1
parentbd1e098b0726f0ffdca3bea2937fada9dbabd9b4
Add a function to include sub-directory's Build.mak

Including a Build.mak in a sub-directory can be very error prone, since the
$S variable should be set to the relative path from $T before including the
Build.mak and restored afterwards.

The function include_subdirs is added to simplify this task, freeing the
user from doing all the dirty work and avoiding bugs.

The "otherproj" pkg-config file generation is moved to a subdirectory to
test how the new function works with deeply nested Build.mak.
Build.mak
Lib.mak
subproj/Build.mak
subproj/pkg-config/Build.mak [new file with mode: 0644]
subproj/pkg-config/otherproj.pc.in [moved from subproj/otherproj.pc.in with 100% similarity]