summaryrefslogtreecommitdiff
blob: cc09a36806f41b4c3f805808dc27e07710f9c84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -u -r1.6 -r1.7
--- man/Makefile.am	2005/12/06 22:48:45	1.6
+++ man/Makefile.am	2006/02/12 18:19:23	1.7
@@ -27,6 +27,8 @@
 
 libmandir = $(LIB_MAN_DIR)
 
+LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
+
 libman_PRE = XDGA.man
 
 BUILT_SOURCES = shadows.DONE
@@ -81,5 +83,5 @@
 shadows.DONE:
 	-rm -f $(XDGA_shadows:=.@LIB_MAN_SUFFIX@)
 	(for i in $(XDGA_shadows:=.@LIB_MAN_SUFFIX@) ; do \
-	 echo .so man$(LIB_MAN_SUFFIX)/XDGA.$(LIB_MAN_SUFFIX) > $$i; \
+	 echo .so man$(LIB_MAN_DIR_SUFFIX)/XDGA.$(LIB_MAN_SUFFIX) > $$i; \
 	 done)