Bug#43787: well, here it is: alternate proposal (was: changed title...)
I don't mind this proposal as long as it satisfies everyone. I'll redo mine
to match Marcus's suggested one if I don't hear any complaints.
Something like this for the options?:
------------------
CFLAGS := -O2
INSTALL := install -s
ifneq (,$(findstring $(DEB_BUILD_OPTIONS),debug))
CFLAGS += -g
ifneq (,$(findstring $(DEB_BUILD_OPTIONS),nostrip))
INSTALL := install
endif
endif
------------------
I set it up this way, because I don't think a `nostrip' is pertinent unless
building with `debug' also. In this way "DEB_BUILD_OPTIONS=nostrip" will not
do anything, but "DEB_BUILD_OPTIONS='debug nostrip'" will have the desired
affect.
Ben
Reply to: