Generate configure-update(1) with the right defaults
This commit is contained in:
parent
3989329a95
commit
ce0a727b9b
|
@ -5,7 +5,7 @@
|
|||
#variables
|
||||
DRYRUN=0
|
||||
PACKAGE="configure"
|
||||
PREFIX="/usr/local"
|
||||
PREFIX="@PREFIX@"
|
||||
LIBEXECDIR="$PREFIX/libexec"
|
||||
PROGNAME="configure-update"
|
||||
PROJECTCONF="project.conf"
|
|
@ -1,8 +1,8 @@
|
|||
targets=configure,pkg-config
|
||||
targets=configure,configure-update,pkg-config
|
||||
cppflags_force=-D PREFIX=\"$(PREFIX)\"
|
||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,configure-update
|
||||
dist=Makefile,configure-update.in
|
||||
|
||||
#modes
|
||||
[mode::release]
|
||||
|
@ -16,6 +16,12 @@ cflags=`pkg-config --cflags libSystem`
|
|||
ldflags=`pkg-config --libs libSystem`
|
||||
sources=configure.c
|
||||
|
||||
[configure-update]
|
||||
type=script
|
||||
script=../src/scripts/tools/subst.sh
|
||||
depends=configure-update.in
|
||||
install=$(BINDIR)
|
||||
|
||||
[pkg-config]
|
||||
type=binary
|
||||
sources=pkg-config.c
|
||||
|
@ -27,8 +33,3 @@ depends=../src/common.c,../src/common.h,../src/configure.c,../src/configure.h,..
|
|||
|
||||
[pkg-config.c]
|
||||
depends=../config.h
|
||||
|
||||
#dist
|
||||
[configure-update]
|
||||
install=$(BINDIR)
|
||||
mode=0755
|
||||
|
|
Loading…
Reference in New Issue
Block a user