Jason Curl wrote:
----- configure.ac -----
...
AC_PATH_PROG([RMAN], [rman])
test x"$RMAN" = x && $ac_unset RMAN
AM_MISSING_PROG([RMAN], [rman])
...
----- Makefile.am -----
man_MANS = file1.3 file2.3
html_DATA = ($man_MANS:.3=.html)
BUILT_SOURCES = $(html_DATA)
EXTRA_DIST = $(man_MANS) $(html_DATA)
all-local: $(html_DATA)
.3.html:
    cd `dirname $<`; \
    $(RMAN) --filter HTML -S `basename $<` > $@
----- end -----
To get it to work on FreeBSD make, we need to change $^ with $< as above.



Reply via email to