aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-07-22 13:17:02 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-07-22 13:17:02 +0900
commitc3e3997927b2792f7cde839c1b3f24384828be16 (patch)
treebf76d02f16d6a08898cd2cc2c05e480d054dbfd1
parent141d7b068bba8c5f460dd4f90f87126c0404dd5e (diff)
downloadpbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar
pbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar.gz
* add example configuration file for ccache.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile1
-rw-r--r--debian/changelog4
-rw-r--r--examples/pbuilderrc.ccache8
4 files changed, 17 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5dbce32..f682b82 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-22 Junichi Uekawa <dancer@debian.org>
+
+ * Documentation/pbuilder-doc.xml: refer to example file.
+
+ * examples/pbuilderrc.ccache: create example file.
+
2007-07-16 Junichi Uekawa <dancer@debian.org>
* Documentation/debconf7/develcycle.dot: change diagram to contain
diff --git a/Makefile b/Makefile
index a8679a9..1cb9edd 100644
--- a/Makefile
+++ b/Makefile
@@ -86,6 +86,7 @@ install:
$(INSTALL_FILE) pbuilderrc $(DESTDIR)/usr/share/pbuilder
$(INSTALL_FILE) pbuilder-uml.conf $(DESTDIR)/etc/pbuilder
$(INSTALL_FILE) pbuilder-uml.conf $(DESTDIR)/usr/share/pbuilder
+ $(INSTALL_FILE) examples/pbuilderrc.ccache $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/B90linda $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/B91dpkg-i $(DESTDIR)/usr/share/doc/pbuilder/examples
$(INSTALL_EXECUTABLE) examples/B92test-pkg $(DESTDIR)/usr/share/doc/pbuilder/examples
diff --git a/debian/changelog b/debian/changelog
index 241f0bd..90bbf4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
pbuilder (0.171) UNRELEASED; urgency=low
- *
+ * add example configuration file for ccache.
- -- Junichi Uekawa <dancer@debian.org> Tue, 26 Jun 2007 07:42:55 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sun, 22 Jul 2007 13:15:57 +0900
pbuilder (0.170) unstable; urgency=low
diff --git a/examples/pbuilderrc.ccache b/examples/pbuilderrc.ccache
new file mode 100644
index 0000000..cc963af
--- /dev/null
+++ b/examples/pbuilderrc.ccache
@@ -0,0 +1,8 @@
+export CCACHE_DIR="/var/cache/pbuilder/ccache"
+export PATH="/usr/lib/ccache:${PATH}"
+EXTRAPACKAGES="ccache ${EXTRAPACKAGES}"
+BINDMOUNTS="${CCACHE_DIR} ${BINDMOUNTS}"
+mkdir -p "${CCACHE_DIR}" 2> /dev/null || true
+if [ -n "${BUILDUSERID}" ]; then
+ chown "${BUILDUSERID}":"${BUILDUSERID}" "${CCACHE_DIR}" || true
+fi