summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2006-05-09 21:55:08 +0000
committerKevin E Martin <kem@kem.org>2006-05-09 21:55:08 +0000
commitd8f719a352cd4d4ace60566b73a077175940a351 (patch)
treea0bc48157b3202d9485e70113b7f66838bbb5edd /Makefile.am
parent545a878fa367a32059b33a21b9253a69ed95ccf6 (diff)
Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages
not created correctly when MANDIR & MANSUFFIX don't match.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 99da22e..76f7d8d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -100,6 +100,8 @@ dist_bitmap_DATA = \
Term \
Up
+APP_MAN_DIR_SUFFIX = $(APP_MAN_DIR:@mandir@/man%=%)
+
appmandir = $(APP_MAN_DIR)
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) \
@@ -139,5 +141,5 @@ man_shadows = atobm bmtoa
shadows.DONE:
-rm -f $(man_shadows:=.@APP_MAN_SUFFIX@)
(for i in $(man_shadows:=.@APP_MAN_SUFFIX@) ; do \
- echo .so man$(APP_MAN_SUFFIX)/bitmap.$(APP_MAN_SUFFIX) > $$i; \
+ echo .so man$(APP_MAN_DIR_SUFFIX)/bitmap.$(APP_MAN_SUFFIX) > $$i; \
done)