summaryrefslogtreecommitdiff
path: root/app/xclipboard/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'app/xclipboard/Makefile.am')
-rw-r--r--app/xclipboard/Makefile.am47
1 files changed, 6 insertions, 41 deletions
diff --git a/app/xclipboard/Makefile.am b/app/xclipboard/Makefile.am
index 42967dce0..58273bc4e 100644
--- a/app/xclipboard/Makefile.am
+++ b/app/xclipboard/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 = xclipboard xcutsel
AM_CFLAGS = $(CWARNFLAGS) $(XCLIPBOARD_CFLAGS)
@@ -37,12 +38,6 @@ xcutsel_LDADD = $(XCLIPBOARD_LIBS)
xcutsel_SOURCES = \
xcutsel.c
-# man pages
-
-appman_PRE = \
- xclipboard.man \
- xcutsel.man
-
# App default files (*.ad)
DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
@@ -52,44 +47,14 @@ appdefaultdir = @appdefaultdir@
dist_appdefault_DATA = \
app-defaults/XClipboard
+MAINTAINERCLEANFILES = ChangeLog INSTALL
-appmandir = $(APP_MAN_DIR)
-
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-EXTRA_DIST = $(appman_PRE)
-CLEANFILES = $(appman_DATA)
-
-SED = sed
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
- -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__xservername__|Xorg|g' \
- -e 's|__xconfigfile__|xorg.conf|g' \
- -e 's|__projectroot__|$(prefix)|g' \
- -e 's|__apploaddir__|$(appdefaultdir)|' \
- -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
- -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
- -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
- -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
- -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-EXTRA_DIST += ChangeLog
-MAINTAINERCLEANFILES = ChangeLog
+.PHONY: ChangeLog INSTALL
-.PHONY: ChangeLog
+INSTALL:
+ $(INSTALL_CMD)
ChangeLog:
$(CHANGELOG_CMD)
-dist-hook: ChangeLog
+dist-hook: ChangeLog INSTALL