#! /bin/csh -f

#
# Clean up from a run of the reorg script --
# go back to the old directory structure.
#

# set verbose

# Make sure we have backups of all the new files.
# Commented-out ones aren't really new.
# cp Makefile.in /builds/reorgnew/
# cp composer/Makefile.in /builds/reorgnew/composer
cp composer/src/Makefile.in /builds/reorgnew/composer/src
# cp libeditor/Makefile.in /builds/reorgnew/libeditor
# cp libeditor/base/Makefile.in /builds/reorgnew/libeditor/base
# cp libeditor/text/Makefile.in /builds/reorgnew/libeditor/text
# cp libeditor/html/Makefile.in /builds/reorgnew/libeditor/html
# cp libeditor/build/Makefile.in /builds/reorgnew/libeditor/build

rm -rf libeditor
rm -rf composer/resources
rm -f \
      composer/src/nsComposerCommands.h \
      composer/src/nsComposerCommands.cpp \
      composer/src/nsComposerController.h \
      composer/src/nsComposerController.cpp \
      composer/src/nsEditorParserObserver.h \
      composer/src/nsEditorParserObserver.cpp \
      composer/src/nsEditorShell.h \
      composer/src/nsEditorShell.cpp \
      composer/src/nsEditorShellMouseListener.h \
      composer/src/nsEditorShellMouseListener.cpp \
      composer/src/nsEditorShellFactory.cpp \
      composer/src/nsInterfaceState.h \
      composer/src/nsInterfaceState.cpp \
      composer/src/nsEditorShellFactory.h \
      composer/jar.mn

mv oldbase base
# mv oldui ui
