CVS compilation tool
Anton Markov
anton at truxtar.com
Mon Aug 2 19:49:34 CEST 2004
Here is a really quick shell trick for compiling all XFCE modules that
are collected in one directory (you could also symlink the ones you want
to compile into one directory). It'll ignore anything that doesn't look
like a source folder.
#!/bin/sh
BASEDIR=`pwd`;
for i in *; do
if test -d $i; then
if test -x $i/configure; then
cd $i && ./configure && make && cd $BASEDIR;
fi;
fi;
done
You can just copy/paste and execute it right from a shell (minus the
"#!..." line). Later you can execute the following as root to install
(optional):
#!/bin/sh
BASEDIR=`pwd`;
for i in *; do
if test -d $i; then
if test -x $i/configure; then
cd $i && make install && cd $BASEDIR;
fi;
fi;
done
I don't think XFCE really needs a special tool for compiling the CVS.
Ordinary users use the releases (maybe have a tool to help compile
those), or binaries for their distribution. I would rather see the time
put into other features. I don't think many people who use CVS mind
entering a few lines of shell scripts.
Randy Chung wrote:
> Hi everyone,
>
> How are people here building the CVS codebase? Shell scripts,
> makefiles, maybe going through every single directory by hand and doing
> the configure && make && make install dance?
>
> --
>
> Randy
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
--
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>
GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3 CE34 46B7 8D93 3AD1 44B4
*** LINUX - MAY THE SOURCE BE WITH YOU! ***
More information about the Xfce4-dev
mailing list