automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Aw: Re: Generating 'cat' pages on make install


From: Jason Curl
Subject: Re: Aw: Re: Generating 'cat' pages on make install
Date: Mon, 05 Nov 2007 22:35:05 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

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

[Prev in Thread] Current Thread [Next in Thread]