123456789101112131415161718192021222324252627282930313233 |
- #!/bin/sh
- if [ -z "$PREFIX" ]; then
- PREFIX=""
- ETCPREFIX=""
- MANPREFIX="/usr"
- elif [ "$PREFIX" = "/usr" ]; then
- ETCPREFIX=""
- MANPREFIX="/usr"
- else
- PREFIX="/usr/local"
- ETCPREFIX="/usr/local"
- MANPREFIX="/usr/local"
- fi
- cat > config.mk << HERE
- # Ax version
- VERSION=0.0.3
- # Path
- PREFIX=${PREFIX}
- ETCPREFIX=${ETCPREFIX}
- MANPREFIX=${MANPREFIX}
- ECHO?=0
- ifeq (\$(ECHO), 0)
- CECHO=@
- else
- CECHO=
- endif
- HERE
|