diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-04-07 13:35:07 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-04-07 13:35:07 +0000 |
commit | 61d0c0e73b610149c670dd4513a0bb060289c351 (patch) | |
tree | 88f691f155fed7d1a49806da1c255d64c9cf4304 /README | |
parent | 6fd3c5479be73e28d7ed79aa71bb180b48a5c43a (diff) |
Some developers need clues to unfuck their trees.
Diffstat (limited to 'README')
-rw-r--r-- | README | 33 |
1 files changed, 32 insertions, 1 deletions
@@ -128,4 +128,35 @@ You can also set XENOCARA_RERUN_AUTOCONF in /etc/mk.conf or in the environment to force the regeneration of configure scripts in every component during a make build. -$OpenBSD: README,v 1.14 2007/04/07 13:21:12 matthieu Exp $ +o Cleaning in packages managed by autotools + ----------------------------------------- + +One common problem when building xenocara is the case where the obj +directory didn't exist (or the symbolic link pointed to a non-existent +directort) when the source was first build. After fixing this problem, +'configure' will refuse to work in the obj dir, because the source +is already configured. + +To recover from this in one package: + + rm -f obj + make -f Makefile.bsd-wrapper cleandir + mkdir XOBJDIR + make -f Makefile.bsd-wrapper obj + make -f Makefile.bsd-wrapper build + +or from the root of the xenocara tree: + + find . -type l -name obj | xargs rm -f + make cleandir + mkdir XOBJDIR + make obj + make build + +for more desesperate cases, remove all files from XSRCDIR not in CVS: + + cd XSRCDIR + cvs -q update -PAd -I - | awk '$1=="?" {print $2}' | xargs rm -f + +-- +$OpenBSD: README,v 1.15 2007/04/07 13:35:06 matthieu Exp $ |