makefile issue
Andreas Jellinghaus
aj at dungeon.inka.de
Thu Jun 22 10:58:04 CEST 2000
please check if it is necessary, before you do the mkdir in
the "make install" section.
obj/Makefile:
install: all
$(INSTALL) -d $(sbindir) $(sysconfdir) $(localstatedir)
should be:
install: all
if ! test -d $(sbindir)
then
$(INSTALL) -d $(sbindir)
fi
if ! test -d $(sysconfdir)
then
$(INSTALL) -d $(sysconfdir)
fi
if ! test -d $(localstatedir)
then
$(INSTALL) -d $(localstatedir)
fi
Note: i´m not sure if -d is appropriate. a symlink to a directory
should be also allowed, but i don´t know how to test for that.
regards, andreas
More information about the Bird-users
mailing list