diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-30 14:58:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-30 14:58:53 +0000 |
commit | eff6983de76ac2e5e28e60711c2fd214c313dd60 (patch) | |
tree | fdf86e474303d351a97c8579ce89b39268d45650 /doc/Make.config | |
parent | Corrected distribution levels for html (diff) | |
download | rtems-eff6983de76ac2e5e28e60711c2fd214c313dd60.tar.bz2 |
Making the stanza right and improving the way the isntall directories are built
Diffstat (limited to 'doc/Make.config')
-rw-r--r-- | doc/Make.config | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/doc/Make.config b/doc/Make.config index 507e8c97cd..aabcaded81 100644 --- a/doc/Make.config +++ b/doc/Make.config @@ -19,24 +19,17 @@ INFO=info XDVI=xdvi -s 4 GHOSTVIEW=ghostview -magstep -1 +# Account for tree organization which restricts visibility ifeq ($(DISTRIBUTION_LEVEL),public) +RLEVEL= WWW_INSTALL=$(DOC_INSTALL_BASE)/html -else -WWW_INSTALL=$(DOC_INSTALL_BASE)/html/$(DISTRIBUTION_LEVEL) -endif INFO_INSTALL=$(DOC_INSTALL_BASE)/info PS_INSTALL=$(DOC_INSTALL_BASE)/ps - -ifeq ($(DISTRIBUTION_LEVEL),support) -RLEVEL=../ -else -ifeq ($(DISTRIBUTION_LEVEL),partners) -RLEVEL=../ else -ifeq ($(DISTRIBUTION_LEVEL),internal) -RLEVEL=../ -endif -endif +RLEVEL=.. +WWW_INSTALL=$(DOC_INSTALL_BASE)/html/$(DISTRIBUTION_LEVEL) +INFO_INSTALL=$(DOC_INSTALL_BASE)/info/$(DISTRIBUTION_LEVEL) +PS_INSTALL=$(DOC_INSTALL_BASE)/ps/$(DISTRIBUTION_LEVEL) endif #TEXI2WWW_ARGS=-dirfile $(WWW_INSTALL)/index.html \ @@ -46,3 +39,15 @@ TEXI2WWW_ARGS=-dirfile ../$(RLEVEL)index.html \ -header $(WWW_INSTALL)/$(RLEVEL)rtems_header.html \ -footer $(WWW_INSTALL)/$(RLEVEL)rtems_footer.html +define make-dirs + @ if [ ! -d $(WWW_INSTALL) ] ; then \ + mkdir -p $(WWW_INSTALL); \ + fi + @ if [ ! -d $(INFO_INSTALL) ] ; then \ + mkdir -p $(INFO_INSTALL); \ + fi + @ if [ ! -d $(PS_INSTALL) ] ; then \ + mkdir -p $(PS_INSTALL); \ + fi +endef + |