is there an easy way to run make clean?

Kurt Miller kurt at intricatesoftware.com
Wed Aug 19 18:18:10 PDT 2009


Stephen Bannasch wrote:
> I was getting compilation errors and after running clean the compile worked.
> 
> But there's probably an easier way to do it than what I did.
> 
> I added another line with ' clean' to this shell script I use to build:
> 
> $ cat build.sh
> env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \
>   make \
>   ALT_BOOTDIR=/usr/local/soylatte16-i386-1.0.3/ \
>   ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
>   ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
>   ALT_JIBX_LIBS_PATH=/Users/stephen/dev/java/jibx/lib \
>   ANT_HOME=/usr/share/ant \
>   NO_DOCS=true \
>   HOTSPOT_BUILD_JOBS=1
> 
> and ran source build.sh

Hi Stephen,

When I want to completely remove the last build and build from
scratch I do the following:

mv bsd-port/build bsd-port/build.del
rm -rf bsd-port/build.del &

Regards,
-Kurt



More information about the bsd-port-dev mailing list