.OLD suffix

Julien ÉLIE julien at trigofacile.com
Fri May 23 16:50:08 UTC 2008


Hi Ivan,

>> BTW, why not make the backup suffix configurable, with an option to
>> omit making backups at all?  Like:


It works with your patch:

18:43 news at news ~/work/inn/trunk% make -n update
            ../support/install-sh -c -o news -g news -m 0644 -B .OLD $F /home/news/include/$F ; \

18:44 news at news ~/work/inn/trunk% make -n BACKUP_OPTION='' update
            ../support/install-sh -c -o news -g news -m 0644  $F /home/news/include/$F ; \


However, I believe you would have wanted something like "make update nobackup" or
"make --nobackup update".  However, make does not support such constructions.

Do you have a better idea?

-- 
Julien ÉLIE

« -- Et fais attention de ne pas te cogner aux arbres !
  -- ...
  -- Le tout, c'est de faire attention de ne pas se cogner aux Gaulois ! » (Astérix) 



More information about the inn-workers mailing list