[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DDP webpages now at www.debian.org



"Adam P. Harris" wrote:
  >I notice that you have two different trees, one for HTML
  >(HTTP_ROOT/manuals.html) and one for SGML (ddp/manuals.sgml).  Is this
  >wise?  How are you going to copy files over?  Should I add to my DDP
  >integration spec the fact taht you need a 'make install-ddp' or
  >something rule?  Personally, I think it would be easier if the web
  >tree and the cvs co tree were the same, and not different.

It seemed to be clearer and easier to have the output in a different area
from the sgml input.  

The .sgml and .html trees should be entirely equivalent, so it should be
a simple matter to mv the .html output files across to their proper
location, provided that generation has been successful.

If we use the same directory for both, regeneration using buggy source
will destroy the existing version while failing to provide the new one.

The commands (untested!) would be: 

  targetdir=~elphick/public_html/manuals.html/$(basename $PWD)
  rm $targetdir/*.html
  mv *.html $targetdir


-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Trust in the Lord with all your heart, and do not
      lean on your own understanding."
                                        Proverbs 3:5



--  
To UNSUBSCRIBE, email to debian-doc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: