diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | examples/pbuilderrc.ccache | 8 |
4 files changed, 17 insertions, 2 deletions
@@ -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 @@ -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 |