summaryrefslogtreecommitdiff
path: root/app/xkbevd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xkbevd/Makefile.am')
-rw-r--r--app/xkbevd/Makefile.am27
1 files changed, 5 insertions, 22 deletions
diff --git a/app/xkbevd/Makefile.am b/app/xkbevd/Makefile.am
index 949411a5a..895468fed 100644
--- a/app/xkbevd/Makefile.am
+++ b/app/xkbevd/Makefile.am
@@ -18,10 +18,12 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+SUBDIRS = man
bin_PROGRAMS = xkbevd
-AM_CFLAGS = $(CWARNFLAGS) $(XKBEVD_CFLAGS) \
- -DDFLT_XKB_CONFIG_ROOT='"$(datadir)/X11/xkb"'
+AM_CPPFLAGS = -DDFLT_XKB_CONFIG_ROOT='"$(datadir)/X11/xkb"'
+AM_CFLAGS = $(CWARNFLAGS) $(XKBEVD_CFLAGS)
+
xkbevd_LDADD = $(XKBEVD_LIBS)
xkbevd_SOURCES = \
@@ -35,29 +37,10 @@ xkbevd_SOURCES = \
xkbevd.c \
xkbevd.h
-appman_PRE = \
- xkbevd.man
-
-BUILT_SOURCES = cfgparse.c
-MAINTAINERCLEANFILES = ChangeLog INSTALL
-MAINTAINERCLEANFILES += $(BUILT_SOURCES)
-
# Sample configuration files
EXTRA_DIST = example.cf xkbevd.cf
-appmandir = $(APP_MAN_DIR)
-
-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) < $< > $@
-
+MAINTAINERCLEANFILES = ChangeLog INSTALL
.PHONY: ChangeLog INSTALL