aboutsummaryrefslogtreecommitdiff
path: root/apps/xhost/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xhost/man/Makefile.am')
-rw-r--r--apps/xhost/man/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/xhost/man/Makefile.am b/apps/xhost/man/Makefile.am
new file mode 100644
index 000000000..3e85ee9ae
--- /dev/null
+++ b/apps/xhost/man/Makefile.am
@@ -0,0 +1,12 @@
+
+appmandir = $(APP_MAN_DIR)
+appman_PRE = xhost.man
+appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX))
+
+EXTRA_DIST = $(appman_PRE)
+CLEANFILES = $(appman_DATA)
+SUFFIXES = .$(APP_MAN_SUFFIX) .man
+
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+.man.$(APP_MAN_SUFFIX):
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@