123 |
|
# /home/maul/gezelter/src/code/src/UseTheForce/Darkside --> UseTheForce/Darkside |
124 |
|
#Package = $(shell echo $(CurrentDir) | sed -e 's/^.*\/src\/\(.*\)/\1/g') |
125 |
|
#use shell script to get the absolute path and then rip it off from $(CurrentDir) |
126 |
< |
Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) |
126 |
> |
#Package = $(subst $(shell cd $(SourceDir); pwd)/,,$(CurrentDir)) |
127 |
> |
# REMINDER: We are now using the Package line in each subdir makefile. |
128 |
> |
# This avoids the strange path problem and the subshell |
129 |
|
|
130 |
|
PackageList = $(Package) |
131 |
|
PackageSourceDir = $(SourceDir)/$(Package) |