aboutsummaryrefslogtreecommitdiff
path: root/apps/xwininfo/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xwininfo/man/Makefile.am')
-rw-r--r--apps/xwininfo/man/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/xwininfo/man/Makefile.am b/apps/xwininfo/man/Makefile.am
new file mode 100644
index 000000000..3bf6da8d7
--- /dev/null
+++ b/apps/xwininfo/man/Makefile.am
@@ -0,0 +1,12 @@
+
+appmandir = $(APP_MAN_DIR)
+appman_PRE = xwininfo.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) < $< > $@