Ole Tange <[email protected]> writes:

> I have a feeling the configuration files would be extremely simple:

> 'make' should run 'pod2man program' to generate the man page
> 'make install' should copy the program to .../bin, and the man page to
> .../man1

dist_bin_SCRIPTS = program
man_MANS = program.1

program.1: program
        pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
            --section=1 program > program.1

CLEANFILES = program.1

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>


Reply via email to