man pages: Split out the common preamble and insert it at build time.
[sod] / src / Makefile.am
index b8f0e85..0dfb320 100644 (file)
@@ -170,8 +170,9 @@ check-local: sod sod-test.asd
 ###--------------------------------------------------------------------------
 ### Manual pages.
 
-dist_man_MANS          += sod.1
-dist_man_MANS          += sod-module.5
+man_MANS               += sod.1 sod-module.5
+CLEANFILES             += sod.1 sod-module.5
+EXTRA_DIST             += sod.1.in sod-module.5.in
 
 ###--------------------------------------------------------------------------
 ### Installation.