[TxMt] Persistent Includes?

Ollivier Robert roberto+textmate at keltia.freenix.fr
Mon Mar 6 11:40:09 UTC 2006


According to Eric O'Brien:
> time I want to update my test server.  I only want to process the  
> files that have *changed* since the last time I ran the process.   
> Conceptually, I sorta would like to work rsync into the process here,  
> but I don't quite see how to do it (as none of the html files in the  
> static site are going to match with their "source" php files).

Use make, that's exactly its "reason d'être".

.php.html:
	php ${.OODATE} > html/${.TARGET}

(in BSD make, GNU has a somewhat different syntax) 
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005



More information about the textmate mailing list