mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
- uses automake to generate most of the Makefile.in - renamed configure.in to configure.ac per autoconf - Versioning is optional now with a configure option - reworked the init scripts for versioning or not - eliminated acconfig.h and put templates in configure.ac - make install now honors the DESTDIR variable for package builds - honors bindir for modulecmd location (but the init scripts are only correct if no versioning) * Collected the usage info and now it can be displayed with the --help or -H option (same as help) * --version now gives most of the optional configure parameters for easy debugging of problems * Fixed bootstrap to just source the appropriate init script
19 lines
290 B
Plaintext
Executable File
19 lines
290 B
Plaintext
Executable File
#/bin/sh
|
|
|
|
# $1 = prefix
|
|
# $2 = bindir
|
|
# $3 = baseprefix
|
|
# $4 = version
|
|
# $5 = versioning comment
|
|
# $6 = noversioning comment
|
|
|
|
sed \
|
|
-e "s,@prefix@,$1," \
|
|
-e "s,@bindir@,$2," \
|
|
-e "s,@BASEPREFIX@,$3," \
|
|
-e "s,@VERSION@,$4," \
|
|
-e "s,@VERSIONING@,$5," \
|
|
-e "s,@NOTVERSIONING@,$6,"
|
|
|
|
exit
|