> Thanks Nico, I've merged this patch. I did notice one _very_ minor
> thing: if you type make twice in a row, then the second (and any
> consequtive calls to) "make" will unpack the font zip file again. Any
> idea why this is?
No idea. (couple minutes pass) This is because `unzip` uses the file
modification date from the zip file, see:
$ ls -l Envy*
-rw-r--r-- 1 thakis eng 83856 May 26 2008 Envy Code R Bold.ttf
-rw-r--r-- 1 thakis eng 172849 Feb 5 10:30 EnvyCodeR.zip
Hence, make thinks the zip file is newer than the ttf file and unpacks
it again. I can't find a flag that tells unzip to set the extraction
date on the files it creates, but the patch of this mail works around
the problem.
Nico
ps: Not a real patch; group's web interface doesn't support
attachments:
--- a/src/MacVim/icons/Makefile
+++ b/src/MacVim/icons/Makefile
@@ -11,6 +11,9 @@ loadfont.so: loadfont.c
Envy\ Code\ R\ Bold.ttf: EnvyCodeR.zip
unzip -jo EnvyCodeR.zip
+ # unzip uses the file date from the zip file. Change the file
date to
+ # "now", so that the zip is not unzipped in every `make` run.`
+ touch Envy\ Code\ R\ Bold.ttf
ENVYCODE_URL=http://download.damieng.com/latest/EnvyCodeR
EnvyCodeR.zip:
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---