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