automake
[Top][All Lists]
Advanced

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

Re: Minimal example for perl program


From: Russ Allbery
Subject: Re: Minimal example for perl program
Date: Fri, 16 Apr 2010 11:53:35 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Ole Tange <address@hidden> 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 (address@hidden)             <http://www.eyrie.org/~eagle/>




reply via email to

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