summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-07 13:35:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-07 13:35:07 +0000
commit61d0c0e73b610149c670dd4513a0bb060289c351 (patch)
tree88f691f155fed7d1a49806da1c255d64c9cf4304 /README
parent6fd3c5479be73e28d7ed79aa71bb180b48a5c43a (diff)
Some developers need clues to unfuck their trees.
Diffstat (limited to 'README')
-rw-r--r--README33
1 files changed, 32 insertions, 1 deletions
diff --git a/README b/README
index 738076ed9..07848cd97 100644
--- a/README
+++ b/README
@@ -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 $