Re: Adding extra rules to make

2007-06-21 Thread Benoit Sigoure
Quoting Daniel Leidert <[EMAIL PROTECTED]>: I guess, you further need a SUFFIXES = .txt .bin No, Automake is able to infer this when seeing user-defined suffix-rules such as .txt.bin: ... Remove the SUFFIXES line and run automake -v to convince yourself. $ cat Makefile.am SRC = foo.txt

Re: Adding extra rules to make

2007-06-21 Thread Daniel Leidert
Am Donnerstag, den 21.06.2007, 13:56 +0200 schrieb [EMAIL PROTECTED]: > Hello, > > As part of the build process, I would like to convert text files to > binary files. They don't get installed, the files can be used later to > test the program. > > In particular, the input format is *.txt and the

Re: Adding extra rules to make

2007-06-21 Thread Ralf Wildenhues
Hello Jason, * [EMAIL PROTECTED] wrote on Thu, Jun 21, 2007 at 01:56:50PM CEST: > > As part of the build process, I would like to convert text files to > binary files. They don't get installed, the files can be used later to > test the program. Try the following (untested): SRC = 01_InvalidByte

Re: Adding extra rules to make

2007-06-21 Thread Noah Slater
You can use the prefix "dist_" with a variable to have it distributed in the tarball. dist_SRC = foo Also, if you are making the bin files at distribution time you should replace CLEANFILES with MAINTAINERCLEANFILES and change BIN to dist_BIN. Additionally, I am unsure why the ".txt.bin" rul

Adding extra rules to make

2007-06-21 Thread jcurlmail
Hello, As part of the build process, I would like to convert text files to binary files. They don't get installed, the files can be used later to test the program. In particular, the input format is *.txt and the output format is *.bin. I've got it working, but I feel it's far from elegant. I