aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/am_edit4
-rw-r--r--kde2/doc/.cvsignore2
-rw-r--r--kde2/doc/en/.cvsignore4
-rw-r--r--kde2/doc/en/Makefile.am2
4 files changed, 11 insertions, 1 deletions
diff --git a/conf/am_edit b/conf/am_edit
index d597c9e..d27d454 100644
--- a/conf/am_edit
+++ b/conf/am_edit
@@ -1395,6 +1395,10 @@ sub tag_DOCFILES ()
}
goto nodocs if (!$files); # Nothing to do
+ if ($files =~ /(^| )index\.docbook\.in($| )/) {
+ $files =~ s/\.in//;
+ }
+
if ($files =~ /(^| )index\.docbook($| )/) {
my $lines = "";
diff --git a/kde2/doc/.cvsignore b/kde2/doc/.cvsignore
new file mode 100644
index 0000000..3dda729
--- /dev/null
+++ b/kde2/doc/.cvsignore
@@ -0,0 +1,2 @@
+Makefile.in
+Makefile
diff --git a/kde2/doc/en/.cvsignore b/kde2/doc/en/.cvsignore
new file mode 100644
index 0000000..dae511d
--- /dev/null
+++ b/kde2/doc/en/.cvsignore
@@ -0,0 +1,4 @@
+Makefile.in
+Makefile
+HTML
+index.docbook
diff --git a/kde2/doc/en/Makefile.am b/kde2/doc/en/Makefile.am
index 77093f1..14e83a9 100644
--- a/kde2/doc/en/Makefile.am
+++ b/kde2/doc/en/Makefile.am
@@ -3,4 +3,4 @@ KDE_LANG = en
KDE_DOCS = kpsion
index.docbook: index.docbook.in
- cp index.docbook.in index.docbook
+ cat index.docbook.in | perl -e 'while (<>) { if (/\$$Date:\s+(\S*)/) { $$d=$$1; } s/__DATE__/$$d/; s/__VERSION__/$(VERSION)/; print; }' > index.docbook