On Fri, May 07, 2010 at 05:45:06PM +0200, Petter Reinholdtsen wrote: > The current insserv version generate an empty directory every time > make is called. The cause is this line: > > override TMP :=$(shell mktemp -d $(PACKAGE)-$(VERSION).XXXXXXXX) > > Any ideas how to rewrite insserv to avoid this?
Yes by using
ifeq ($(MAKECMDGOALS),upload)
[...]
endif
as done in head
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
