I'm trying to get the make file to handle files with suffixes but copy them to a bin directory without the suffix. I can get the copy to work fine but the dependencies don't work. I copies very time. takes less than a second but I'd rather not have it doing it every time.

SCRIPTS := foo
BINDIR := bin

x : $(addprefix ${BIN_DIR}/,$(SCRIPTS))

Here's what I have now
${BIN_DIR}/%.pl : %.pl
 @$(PRINTF) "Copying $< to ${BIN_DIR}/$*\n"
 @$(COPY) $< ${BIN_DIR}/$*
 @$(CHMOD) 777 ${BIN_DIR}/$*

It copies it to the bin directory just fine without the .pl
RCS pulls it out of its directory every time.
So who do I make it work so that it will compare the copy in RCS and not execute?

Also how do I get the command for pulling from RCS to be quiet?

--
   ___  _ ____       ___       __  __
  / _ )(_) / /_ __  / _ \___ _/ /_/ /____  ___
 / _  / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/   \_,_/\__/\__/\___/_//_/
           /___/
Dallas, Texas, 214-480-1965,  [EMAIL PROTECTED]




_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to