NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page makefile question

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 11-15-2004, 09:10 AM THREAD STARTER               #1 (permalink)
New Member
 
Tripecac's Avatar
Join Date: Jan 2004
Posts: 14
Tripecac is an unknown quantity at this point
 



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
Tripecac is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:44 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger