diff options
author | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-07-22 13:17:02 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-07-22 13:17:02 +0900 |
commit | c3e3997927b2792f7cde839c1b3f24384828be16 (patch) | |
tree | bf76d02f16d6a08898cd2cc2c05e480d054dbfd1 | |
parent | 141d7b068bba8c5f460dd4f90f87126c0404dd5e (diff) | |
download | pbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar pbuilder-c3e3997927b2792f7cde839c1b3f24384828be16.tar.gz |
* add example configuration file for ccache.
-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 |