This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Uppercasing files
- To: automake at gnu dot org
- Subject: Uppercasing files
- From: Emiliano <emile at iris-advies dot com>
- Date: Tue, 30 Jan 2001 13:41:16 +0100
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
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