man pages: Split out the common preamble and insert it at build time.
[sod] / src / sod.1.in
similarity index 93%
rename from src/sod.1
rename to src/sod.1.in
index 5474bda..5010ea3 100644 (file)
--- a/src/sod.1
 .\" along with SOD; if not, write to the Free Software Foundation,
 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 .
-.\" Highlight using terminal escapes, rather than overstriking.
-.\"\X'tty: sgr 1'
-.
-.\" String definitions and font selection.
-.ie t \{\
-.  ds o \(bu
-.  if \n(.g .fam P
-.\}
-.el \{\
-.  ds o o
-.\}
-.
-.\" .hP TEXT -- start an indented paragraph with TEXT hanging off to the left
-.de hP
-.IP
-\h'-\w'\fB\\$1\ \fP'u'\fB\\$1\ \fP\c
-..
+.\"--------------------------------------------------------------------------
+.so ../common/defs.man \" @@@PRE@@@
 .
 .\"--------------------------------------------------------------------------
 .TH sod 1 "11 October 2015" "Straylight/Edgeware" "Sensible Object Design"