aboutsummaryrefslogtreecommitdiff
path: root/apps/xclock/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'apps/xclock/Makefile.am')
-rw-r--r--apps/xclock/Makefile.am20
1 files changed, 2 insertions, 18 deletions
diff --git a/apps/xclock/Makefile.am b/apps/xclock/Makefile.am
index 0f439761e..dcf400633 100644
--- a/apps/xclock/Makefile.am
+++ b/apps/xclock/Makefile.am
@@ -19,6 +19,7 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+SUBDIRS = man
bin_PROGRAMS = xclock
AM_CFLAGS = $(CWARNFLAGS) $(XCLOCK_CFLAGS)
@@ -30,9 +31,6 @@ xclock_SOURCES = \
ClockP.h \
xclock.c
-appman_PRE = \
- xclock.man
-
# App default files (*.ad)
DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
@@ -47,16 +45,8 @@ EXTRA_DIST = \
clmask.bit \
clock.bit
-MAINTAINERCLEANFILES = ChangeLog INSTALL
CLEANFILES = $(APPDEFAULTFILES)
-
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST += $(appman_PRE)
-CLEANFILES += $(appman_DATA)
-
+MAINTAINERCLEANFILES = ChangeLog INSTALL
.PHONY: ChangeLog INSTALL
@@ -67,9 +57,3 @@ ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
-
-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) < $< > $@