automake
[Top][All Lists]
Advanced

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

Uppercasing files


From: Emiliano
Subject: Uppercasing files
Date: Tue, 30 Jan 2001 13:41:16 +0100

Hi all,

I'm trying to create an automake file that has rules to uppercase files.
For example I have something.ext and I want it to create a copy
SOMETHING.EXT. I tried with this:

pkgdata_DATA = SOMETHING.EXT OTHER.EXT

CLEANFILES = $(pkgdata_DATA)

%.EXT : %.ext
        cp -f $< `echo $< | tr a-z A-Z`

but that doesn't work since no file SOMETHING.ext exists. How
so I go about this?

Emile



reply via email to

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