summaryrefslogtreecommitdiff
path: root/README.packaging
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <gp@n-dimensional.de>2006-12-18 15:08:38 +0000
committerHans Ulrich Niedermann <gp@n-dimensional.de>2006-12-18 15:08:38 +0000
commit45487fbf0340871cf4fcf5a2bc1ae0548dcc001b (patch)
treeb9718d4471b89b2008fa002372e7379284aedf3a /README.packaging
parent9820fde9e65c0921db547d8ed73122df8d5e8c95 (diff)
downloadlibgphoto2-45487fbf0340871cf4fcf5a2bc1ae0548dcc001b.tar.gz
improved README.packaging
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9661 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'README.packaging')
-rw-r--r--README.packaging50
1 files changed, 28 insertions, 22 deletions
diff --git a/README.packaging b/README.packaging
index 716628876..a92cfa13c 100644
--- a/README.packaging
+++ b/README.packaging
@@ -19,41 +19,47 @@ installing libgphoto2, you always also install libgphoto2_port.
Installed files
===============
-A standard install of libgphoto2 into --prefix=/usr does about this:
+A standard install of libgphoto2 does about this:
* The most important files:
- * /usr/lib/libgphoto2.{a,la,so}
- * /usr/lib/libgphoto2/<VERSION>/*.{a,la,so} (camlibs)
- * /usr/lib/libgphoto2_port.{a,la,so}
- * /usr/lib/libgphoto2_port/<VERSION>/*.{a,la,so} (iolibs)
+ * ${libdir}/libgphoto2.{a,la,so}
+ * ${libdir}/libgphoto2/<VERSION>/*.{a,la,so} (camlibs)
+ * ${libdir}/libgphoto2_port.{a,la,so}
+ * ${libdir}/libgphoto2_port/<VERSION>/*.{a,la,so} (iolibs)
In most cases, you can remove the *.a and *.la files from the
list of files to ship.
* Packaging helpers:
- * /usr/lib/libgphoto2/print-camera-list
- * /usr/lib/libgphoto2/print-usb-usermap (linux-hotplug, obsolete)
- * /usr/sbin/check-mtp-device
- * /usr/sbin/check-ptp-camera
+ * ${utilsdir}/libgphoto2/print-camera-list
+ * ${utilsdir}/libgphoto2/print-usb-usermap (linux-hotplug, obsolete)
+ * ${udevscriptdir}/check-mtp-device
+ * ${udevscriptdir}/check-ptp-camera
+ Defaults: utilsdir=${libdir}, ${udevscriptdir}=${libdir}/udev.
+ You probably want to ./configure udevscriptdir=/lib/udev and possibly
+ utilsdir='${libexecdir}', depending on your system.
* Documentation:
* Man pages:
- * /usr/man/man3/libgphoto3.1
- * /usr/man/man3/libgphoto3_port.1
- * /usr/share/doc/libgphoto2/camlibs/README.* (camlib docs)
- * /usr/share/doc/libgphoto2/{README,AUTHORS,NEWS}
- * /usr/share/doc/libgphoto2/apidocs.html/ API docs
- * /usr/share/doc/libgphoto2_port/{README,AUTHORS,NEWS}
+ * ${mandir}/man3/libgphoto3.1
+ * ${mandir}/man3/libgphoto3_port.1
+ * ${docdir}/camlibs/README.* (camlib docs)
+ * ${docdir}/{README,AUTHORS,NEWS}
+ * ${docdir}/apidocs.html/ API docs
+ * ${docdir}/{README,AUTHORS,NEWS}
You may want to install these files into your custom locations.
If you separate library from libfoo-devel packages, the former
should probably ship with the camlib docs, and the general README
- and NEWS.
+ and NEWS. Try configure --with-docdir=.
* Translated strings:
- * /usr/share/locale/*/LC_MESSAGES/libgphoto2-2.mo
- * /usr/share/locale/*/LC_MESSAGES/libgphoto2_port-0.mo
- * /usr/share/libgphoto2/<VERSION>/konica/*
+ * ${datadir}/locale/*/LC_MESSAGES/libgphoto2-2.mo
+ * ${datadir}/locale/*/LC_MESSAGES/libgphoto2_port-0.mo
+ * ${datadir}/libgphoto2/<VERSION>/konica/*
These files are required for the konica camlib to work at all.
* For developers:
- * /usr/include/gphoto2/gphoto2*.h
- * /usr/lib/libgphoto2.pc
- * /usr/lib/libgphoto2_port.pc
+ * ${includedir}/gphoto2/gphoto2*.h
+ * ${libdir}/pkgconfig/libgphoto2.pc
+ * ${libdir}/pkgconfig/libgphoto2_port.pc
+
+Note that utilsdir, udevscriptdir, etc. can be set at configure
+time. See "configure --help".
========================================================================