This implementation has very few reasonable code (call atol() and ctime()), but has some nice standard program stuff (parse options, print help, ...).
36 lines
768 B
Plaintext
36 lines
768 B
Plaintext
# configure.macros
|
|
|
|
# Directories
|
|
PREFIX="/usr/local"
|
|
BINDIR="@PREFIX@/bin"
|
|
SBINDIR="@PREFIX@/sbin"
|
|
MANDIR="@PREFIX@/share/man"
|
|
MAN1DIR="@MANDIR@/man1"
|
|
MAN2DIR="@MANDIR@/man2"
|
|
MAN3DIR="@MANDIR@/man3"
|
|
MAN4DIR="@MANDIR@/man4"
|
|
MAN5DIR="@MANDIR@/man5"
|
|
MAN6DIR="@MANDIR@/man6"
|
|
MAN7DIR="@MANDIR@/man7"
|
|
MAN8DIR="@MANDIR@/man8"
|
|
MAN9DIR="@MANDIR@/man9"
|
|
|
|
# Programms
|
|
CAT="cat"
|
|
CC="cc"
|
|
CP="cp"
|
|
GZIP="gzip"
|
|
INSTALL="install"
|
|
RM="rm"
|
|
SHELL="/bin/sh"
|
|
STRIP="strip"
|
|
TAR="tar"
|
|
ZCAT="zcat"
|
|
|
|
# Magic macros
|
|
# @CFILE@ will be expanded to the name of the file, that will be created.
|
|
# Also the current template name (e.g. @Makefile.in@) can be used as a macro
|
|
# that will be expanded to another macro named CTEMPLATE (which can be
|
|
# defined here or will default to a buildin text).
|
|
#end
|