X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fmake-stds.texi;h=db0162877f99fc224473930613f67c6dda81e93f;hb=43593319b31e6b0175b8eec4433bac744959822d;hp=cdcbb682ab6c77e0267c3f9c350c9bab71157dd8;hpb=6c630b587d44e283a0f4c482a289c5629b530033;p=gnulib.git diff --git a/doc/make-stds.texi b/doc/make-stds.texi index cdcbb682a..db0162877 100644 --- a/doc/make-stds.texi +++ b/doc/make-stds.texi @@ -8,7 +8,7 @@ @cindex standards for makefiles @c Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, -@c 2004, 2005, 2006, 2007, 2008, 2010 Free Software Foundation, Inc. +@c 2004, 2005, 2006, 2007, 2008, 2010, 2013 Free Software Foundation, Inc. @c @c Permission is granted to copy, distribute and/or modify this document @c under the terms of the GNU Free Documentation License, Version 1.3 @@ -518,6 +518,19 @@ in @file{$(datadir)} or @file{$(sysconfdir)}. @file{$(localstatedir)} should normally be @file{/usr/local/var}, but write it as @file{$(prefix)/var}. (If you are using Autoconf, write it as @samp{@@localstatedir@@}.) + +@item runstatedir +The directory for installing data files which the programs modify +while they run, that pertain to one specific machine, and which need +not persist longer than the execution of the program---which is +generally long-lived, for example, until the next reboot. PID files +for system daemons are a typical use. In addition, this directory +should not be cleaned except perhaps at reboot, while the general +@file{/tmp} (@code{TMPDIR}) may be cleaned arbitrarily. This should +normally be @file{/var/run}, but write it as +@file{$(localstatedir)/run}. Having it as a separate variable allows +the use of @file{/run} if desired, for example. (If you are using +Autoconf 2.70 or later, write it as @samp{@@runstatedir@@}.) @end table These variables specify the directory for installing certain specific @@ -602,7 +615,7 @@ should be written as @file{$(datarootdir)/emacs/site-lisp}. If you are using Autoconf, write the default as @samp{@@lispdir@@}. In order to make @samp{@@lispdir@@} work, you need the following lines -in your @file{configure.in} file: +in your @file{configure.ac} file: @example lispdir='$@{datarootdir@}/emacs/site-lisp'