summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnew-doc1
-rwxr-xr-xnew-tag2
2 files changed, 3 insertions, 0 deletions
diff --git a/new-doc b/new-doc
index d5786b5..9c0f0c4 100755
--- a/new-doc
+++ b/new-doc
@@ -68,6 +68,7 @@ EOF
fi
echo ''
} > "$docname/document.${lang}.rest.txt"
+ echo "/document.${lang}.du.xml" >> "${docname}/.gitignore"
done
ln -s "${docname//+([^\/])/..}"/../templates/du2html.xsl "$docname"/
diff --git a/new-tag b/new-tag
index 3cc49c7..55d256e 100755
--- a/new-tag
+++ b/new-tag
@@ -40,6 +40,8 @@ ${tag//?/=}
[% PROCESS 'document-listing.tt' %]
EOF
} > "$tag/document.${lang}.rest.tt"
+ echo "/document.${lang}.rest.txt" >> "${tag}/.gitignore"
+ echo "/document.${lang}.du.xml" >> "${tag}/.gitignore"
# {
# cat <<EOF
#[% INCLUDE 'base-feed.tt' %]