summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2004-04-06 21:16:08 +0000
committerKeith Packard <keithp@keithp.com>2004-04-06 21:16:08 +0000
commita4992ed5d9ee5563e5aa43390ab4171b0654ed11 (patch)
treebcefd20f9e21d93655b76cf9303f91f9f258ad33
parentb396481e36a0395b189ba3c6e3fab7737e893e13 (diff)
Add 'BUILD' and 'README' to top level. Fix Id lines in generatedxo-6_7_0XORG-RELEASE-1-MERGEXORG-CYGWIN-MERGEXORG-6_7_0XORG-RELEASE-1
documentation to reference source document.
-rw-r--r--lnxdoc.rules2
-rw-r--r--lnxdoc.tmpl6
2 files changed, 7 insertions, 1 deletions
diff --git a/lnxdoc.rules b/lnxdoc.rules
index 1fd5e26..6561e5d 100644
--- a/lnxdoc.rules
+++ b/lnxdoc.rules
@@ -59,7 +59,7 @@ textfile: sgmlfile $(SGMLDEPENDS) @@\
set -x;\ @@\
RemoveFile($$BASE.latin1);\ @@\
$(SGMLFMTCMD) -f latin1 -b -n sgmlfile && \ @@\
- $(XFREE86IDENTFIX) < $$BASE.latin1 > _$@ && $(MV) _$@ $@ && \ @@\
+ $(CVSIDENTFIX) < $$BASE.latin1 | $(XFREE86IDENTFIX) > _$@ && $(MV) _$@ $@ && \ @@\
RemoveFile($$BASE.latin1)) @@\
@@\
LinuxDocInstall(textfile,$(XFREE86DOCDIR)) @@\
diff --git a/lnxdoc.tmpl b/lnxdoc.tmpl
index 32a2df0..25e12bd 100644
--- a/lnxdoc.tmpl
+++ b/lnxdoc.tmpl
@@ -18,6 +18,11 @@ XCOMM
-e '/\$$\XFree86:/s/\$$/Generated from /'
#endif
+#ifndef CVSIdentFix
+#define CVSIdentFix sed -e '/\$$\Id:/s/....\/..\/.. ..:..:.. *//' \
+ -e '/\$$\Id:/s/\$$/Generated from /'
+#endif
+
#ifndef HasLatex
#define HasLatex NO
#endif
@@ -60,6 +65,7 @@ XCOMM
XFREE86IDENTFIX = XFree86IdentFix
+ CVSIDENTFIX = CVSIdentFix
DVIPS = DvipsCmd
DVIPSOPTIONS = DvipsOptions
SGMLFMTCMD = SgmlFmtCmd