summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2018-06-01 08:43:57 -0500
committerFederico Mena Quintero <federico@gnome.org>2018-06-01 08:55:05 -0500
commit15711ddd1e6ffc5052423a7550a926fa1a2c73b5 (patch)
treede4100ede9fa167d8368a8b7692614614b1165d8
parent46ffa7d6f9b41e989cde8f0d0b6cc645f985582d (diff)
downloadlibrsvg-15711ddd1e6ffc5052423a7550a926fa1a2c73b5.tar.gz
COMPILING.md: Note on how to run `make distcheck` so it will work
-rw-r--r--COMPILING.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/COMPILING.md b/COMPILING.md
index 21a80b60..d71f22a8 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -21,6 +21,7 @@ explains librsvg's peculiarities.
* [Debug or release builds](#debug-or-release-builds)
* [Cross-compilation](#cross-compilation)
* [Building with no network access](#building-with-no-network-access)
+* [Running `make distcheck`](#running-make-distcheck)
# Installing dependencies for building
@@ -241,6 +242,22 @@ one of the Rust crates that librsvg uses internally.
The source replacement information is in `rust/.cargo/config` in the
unpacked tarball. Your build system can patch this file as needed.
+# Running `make distcheck`
+
+The `make distcheck` command will built a release tarball, extract it,
+compile it and test it. However, part of the `make install` process
+within that command will try to install the gdk-pixbuf loader in your
+system location, and it will fail.
+
+Please run `make distcheck` like this:
+
+```
+$ make distcheck DESTDIR=/tmp/foo
+```
+
+That `DESTDIR` will keep the gdk-pixbuf loader installation from
+trying to modify your system locations.
+
[autotools]: https://autotools.io/index.html
[blog]: https://people.gnome.org/~federico/blog/librsvg-build-infrastructure.html
[maintainer]: README.md#maintainers