help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recognition of Gzipped files


From: Robert Mecklenburg
Subject: Re: Recognition of Gzipped files
Date: Thu, 9 Oct 2003 14:48:05 -0600

----- Original Message ----- 
From: "Bhatt, Milan C" <address@hidden>
To: <address@hidden>
Sent: Thursday, October 09, 2003 12:46 PM
Subject: Recognition of Gzipped files


Hi,

I'm looking for a way for make to recognize that a gzipped version of
the target exists even when the non-zipped version doesn't exist.


How about adapting the RCS checkout commands like this:

%:: %.gz
    $(UNGZIP.gz)

UNGZIP.gz = +$(if $(wildcard $@),,ungzip $<)


Cheers,
Robert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]