All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Make doesn't abort on error
@ 2000-12-16 15:19 Russell Coker
  2000-12-17 10:01 ` Luca Berra
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Coker @ 2000-12-16 15:19 UTC (permalink / raw)
  To: linux-lvm

ln -s liblvm.so.0.8final liblvm.so
ln: `liblvm.so': File exists
make[4]: *** [liblvm.so.0.8final] Error 1
make[4]: Leaving directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/lib'
make[3]: Entering directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/man8'
make[4]: Entering directory `/home/rjc/debian/LVM/lvm-0.8.1-0/tools/man8'

Above is the error condition that make isn't detecting.  I've changed the 
makefiles to use sonames so I can have multiple versions installed with ease 
(I'll send the patch here when it's working - hopefully within 24 hours 
otherwise maybe after Christmas).

Below is the code from make.tmpl.  For some reason when the "make -c 
tools/lib all" fails it doesn't result in compilation aborting.  Perhaps 
someone who knows make and shell scripting better than I can advise...

all:
        @for d in $(SUBDIRS); \
         do \
            if [ "$$d" = "." ]; \
            then \
               $(MAKE) all_this; \
            else \
               $(MAKE) -C $$d all; \
            fi; \
         done



-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-17 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-16 15:19 [linux-lvm] Make doesn't abort on error Russell Coker
2000-12-17 10:01 ` Luca Berra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.