summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
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)