Dynadot — .com Transfer

Makefile question

SpaceshipSpaceship
Watch

Tripecac

Established Member
Impact
0
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
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back