1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
.Dd Aug 12, 2022
.Dt AMR 1
.Os
.Sh NAME
.Nm amr
.Nd automake replacement
.Sh SYNOPSIS
.Nm amr
.Op Fl acmrshv
.Sh DESCRIPTION
AMR allows you to autogenerate sample/final Makefiles. This allows
you to maintain all the makefiles of your project in a simple and
centralized way. You'll probably need to use AMR for the initial
port to acr for you applications.
.Pp
AMR is on early and experimental stage. So you'll probably find a lot
of problems, bugs and missfeatures. Please feel free to documentate,
and send patches and ideas for it.
.Sh USAGE
AMR allows you to create different kind autogenerated ACR files:
configure.amr, configure.acr, Makefile.acr.
.Bl -tag -width indent
.It Fl a
Scan source code files recursively from the current directory and generates
a configure.amr. Is recommended to run this command for each directory
where you have source files. (acr \-d)
.It Fl c
Parses the configure.amr and prints out a sample configure.acr.
.It Fl d
Reads the configure.amr and prints the directories where you'll need to run
amr. You can easily automate this process in autogen.sh
.It Fl m
Parses configure.amr to generate the Makefile.acr
.It Fl s
Generate shellscripts instead of Makefiles.
.It Fl r
Show report.
.It Fl h
Show help message.
.It Fl v
Prints the version number of AMR.
.El
.Sh SEE ALSO
.Xr acr 1
.Xr acr-cat 1
.Xr acr-wrap 1
.Xr configure.acr 5
.Xr configure.amr 5
.Sh AUTHOR
pancake <pancake@nopcode.org>
|