[svn-r3355] Purpose:

Fix
Description:
    Fixed the install-doc feature.
Solution:
    It manually tests if the appropriate doc directory is there. If not,
    then it mkdir's it and proceeds to the subdirectory installs.
Platforms tested:
    Linux, Solaris
This commit is contained in:
Bill Wendling 2001-02-05 15:07:38 -05:00
parent 0c5cedfff9
commit f6bc747972

View File

@ -27,17 +27,19 @@ tests TAGS dep depend:
(cd $$d && $(MAKE) $@) || exit 1; \
done
$(docdir):
mkdir $@ && chmod 755 $@
install-doc: $(docdir)
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
install-doc:
@if test -d $(DOCDIR) ; then \
:; \
else \
mkdir $(DOCDIR) && chmod 755 $(DOCDIR); \
fi
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
uninstall-doc:
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
@@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \
done
.PHONY: all lib progs test _test install uninstall dep depend clean \