summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-18 00:00:08 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-10-18 00:00:08 +0000
commit913ed232278b0673a763eb46e97aea0f78348b5a (patch)
tree2c56c4bc187b3a009d7827a735c8944af20d59c6
parentce3af1f6d302e3b7adaba7e166f6f594aa13c310 (diff)
Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to
work better with BSD make
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index d4eb5bb..d8ee75f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,8 +33,8 @@ libmandir = $(mandir)/man$(LIB_MAN_SUFFIX)
libman_SOURCES = Xau.man
BUILT_SOURCES = shadows.DONE
CLEANFILES = $(libman_DATA)
-libman_DATA = $(libman_SOURCES:man=$(LIB_MAN_SUFFIX)) \
- $(Xau_shadows:=.$(LIB_MAN_SUFFIX))
+libman_DATA = $(libman_SOURCES:man=@LIB_MAN_SUFFIX@) \
+ $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
EXTRA_DIST = xau.pc.in Autest.c $(libman_SOURCES)
@@ -49,8 +49,8 @@ Xau_shadows = \
XauGetBestAuthByAddr
shadows.DONE:
- -rm -f $(Xau_shadows:=.$(LIB_MAN_SUFFIX))
- (for i in $(Xau_shadows:=.$(LIB_MAN_SUFFIX)) ; do \
+ -rm -f $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
+ (for i in $(Xau_shadows:=.@LIB_MAN_SUFFIX@) ; do \
echo .so man$(LIB_MAN_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $$i; \
done)