| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jan 2004
Posts: 14
![]() | makefile question I'm trying to find a way to get rid of the hardcoded subdirectories in this: albums/aaa/index.html : songs/aaa/*.xml albums/bbb/index.html : songs/bbb/*.xml albums/ccc/index.html : songs/ccc/*.xml etc. Is there a way to do this? I tried: albums/*/index.html : songs/${subst albums/,,$$(@D)}/*.xml However, the subst function evaluates to blank. It seems like the $$(@D) cannot be used within a function in the prerequisites list. Any ideas? Thanks! Travis |
| |