[fpc-other] fpcmake question

Peter Vreman peter at freepascal.org
Sat Mar 11 19:36:37 CET 2006


At 19:28 11-3-2006, you wrote:
>Hi:
>
>I guess the easiest way to ask this is to show what doesn't work and how:
>
>in my Makefile.fpc I have:
>
>[install]
>prefix=/usr/local
>prefix=/home/virtual/site1/fst/usr/local
>prefix=/home/virtual/site2/fst/usr/local
>prefix=/home/virtual/site3/fst/usr/local
>prefix=/home/virtual/site4/fst/usr/local
>prefix=/home/virtual/site5/fst/usr/local
>prefix=/home/virtual/site6/fst/usr/local
>prefix=/home/virtual/site7/fst/usr/local
>prefix=/home/virtual/site8/fst/usr/local
>prefix=/home/virtual/site9/fst/usr/local
>
>Only the last entry (site9) got installed, the rest failed. So, what is 
>the correct way to
>install to multiple directories?? IE What should Makefile.fpc look like?

Use a shell script with a for loop and pass the values to the Makefile on 
the commandline with INSTALL_PREFIX=


Peter



More information about the fpc-other mailing list