Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to
authorAlan Coopersmith <Alan.Coopersmith@sun.com>
Mon, 17 Oct 2005 23:56:21 +0000 (23:56 +0000)
committerAlan Coopersmith <Alan.Coopersmith@sun.com>
Mon, 17 Oct 2005 23:56:21 +0000 (23:56 +0000)
    work better with BSD make

Makefile.am

index 5d48108..7d3c210 100644 (file)
@@ -56,7 +56,7 @@ appman_SOURCES = \
 
 appmandir =  $(mandir)/man$(APP_MAN_SUFFIX)
 
-appman_DATA = $(appman_SOURCES:man=$(APP_MAN_SUFFIX))
+appman_DATA = $(appman_SOURCES:man=@APP_MAN_SUFFIX@)
 
 EXTRA_DIST = $(appman_SOURCES)
 CLEANFILES = $(appman_DATA)