Merge branch 'doc-optimize' of https://github.com/aparajita/cappuccino into aparajita-doc-optimize

This commit is contained in:
Klaas Pieter Annema
2011-03-15 10:18:06 +01:00
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -651,7 +651,7 @@ RECURSIVE = YES
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE = AppKit.doc/Themes
EXCLUDE =
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
+8 -4
View File
@@ -10,11 +10,15 @@ if [ -d Foundation.doc ]; then
rm -rf Foundation.doc
fi
echo "Copying source files..."
cp -r AppKit AppKit.doc
cp -r Foundation Foundation.doc
echo "Processing source files..."
tar cf AppKit.doc.tar --exclude='_*' -s /^AppKit/AppKit.doc/ AppKit/*.j AppKit/**/*.j
tar xf AppKit.doc.tar
rm AppKit.doc.tar
tar cf Foundation.doc.tar --exclude='_*' -s /^Foundation/Foundation.doc/ Foundation/*.j Foundation/**/*.j
tar xf Foundation.doc.tar
rm Foundation.doc.tar
find AppKit.doc -name *.j -exec sed -e '/@import.*/ d' -i '' {} \;
find Foundation.doc -name *.j -exec sed -e '/@import.*/ d' -i '' {} \;