On Sun, Aug 28, 2005 at 11:37:31AM +0100, Gustavo J. A. M. Carneiro wrote:
>   So how about GNOME doing this instead:
> 
>       1- stat(~/.Xresources) --> if fail return
>       2- stat(~/.Xresources.compiled)
>       3- if "~/.Xresources.compiled does not exist" OR
> "~/.Xresources.compiled older than ~/.Xresources":
>               3.a) run "cpp ~/.Xresources -o ~/.Xresources.compiled"
>       4- Run "xrdb -nocpp ~/.Xresources.compiled"

Why not grep for any preprocessor statements, and only run cpp if some
are present?


Michael

-- 
<dilinger> if my last job interview has taught me anything, it's that
        employers want someone who'll show up 30 mins late for the
        interview, on 3 hours of sleep, answer questions ambiguously,
        zone out, and give the appearance of being stoned
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to