summaryrefslogtreecommitdiff
path: root/build/preseed.awk
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2006-01-03 19:39:07 +0000
committerFrans Pop <elendil@planet.nl>2006-01-03 19:39:07 +0000
commit34ca3cccdabee78aa15909ca2d5ee4e90a9019d4 (patch)
treec19c9c38b96ebb0ead73b8d05c5f7abcde8e9341 /build/preseed.awk
parentb087b8a7479e7868cf31d73855cd9269d4f3cb29 (diff)
downloadinstallation-guide-34ca3cccdabee78aa15909ca2d5ee4e90a9019d4.zip
- Change default build to Etch.
- Remove all Sarge specific content and make Etch specific content default. - Delete some obsolete entities.
Diffstat (limited to 'build/preseed.awk')
-rw-r--r--build/preseed.awk61
1 files changed, 0 insertions, 61 deletions
diff --git a/build/preseed.awk b/build/preseed.awk
deleted file mode 100644
index 1619865fe..000000000
--- a/build/preseed.awk
+++ /dev/null
@@ -1,61 +0,0 @@
-# Extract the preseeding example from appendix/example-preseed-*.xml.
-# During extraction "line continuations" - that were added for improved
-# readability - will be removed, rejoining the split lines.
-
-# If variable lckeep is passed with value "1", line continuations are
-# ignored, i.e. the lines in the example are not reformatted.
-
-BEGIN {
- inexample="0"
- inseq="0"
- totline=""
-}
-
-# Ignore everything before the line opening the example
-# Note: this assumes that <informalexample><screen> is on one line
-/<informalexample.*><screen>/ {
- inexample="1"
- getline
-}
-
-# Ignore everything after the line closing the example
-# Note: this assumes that </screen></informalexample> is on one line
-/<\/screen><\/informalexample>/ {
- inexample="0"
-}
-
-# Handling of lines not ending with a line continuation character
-! /\\[[:space:]]*$/ {
- if ( inexample == "1" ) {
- if ( lckeep == "1" ) {
- print $0
- } else {
- if ( inseq == "1" ) {
- sub(/^[[:space:]]*/, "")
- sub(/^#[[:space:]]*/, "")
- }
- totline = totline $0
-
- print totline
- totline=""
- inseq="0"
- }
- }
-}
-
-# Handling of lines ending with a line continuation character
-/\\[[:space:]]*$/ {
- if ( inexample == "1" ) {
- if ( lckeep == "1" ) {
- print $0
- } else {
- if ( inseq == "1" ) {
- sub(/^[[:space:]]*/, "")
- sub(/^#[[:space:]]*/, "")
- }
- inseq="1"
- gsub(/[[:space:]]*\\[[:space:]]*$/, " ")
- totline = totline $0
- }
- }
-}