summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am20
1 files changed, 1 insertions, 19 deletions
diff --git a/Makefile.am b/Makefile.am
index a292290..08ffbb1 100644
--- a/Makefile.am
+++ b/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 = setxkbmap
XKBCONFIGROOT=@XKBCONFIGROOT@
@@ -30,16 +31,7 @@ setxkbmap_LDADD = $(SETXKBMAP_LIBS)
setxkbmap_SOURCES = \
setxkbmap.c
-appman_PRE = \
- setxkbmap.man
-
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST = $(appman_PRE)
MAINTAINERCLEANFILES = ChangeLog INSTALL
-CLEANFILES = $(appman_DATA)
.PHONY: ChangeLog INSTALL
@@ -51,16 +43,6 @@ ChangeLog:
dist-hook: ChangeLog INSTALL
-# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
-setxkbmap_MAN_SUBSTS = \
- -e 's|__xkbconfigroot__|"$(XKBCONFIGROOT)"|' \
- $(MAN_SUBSTS)
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(setxkbmap_MAN_SUBSTS) < $< > $@
-
if LINT
ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)