[PATCH] doc: Do not generate modprobe.d.5 from sgml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If doc/modprobe.d.sgml (the symlink to modprobe.conf.sgml) is newer than
modprobe.d.5 (the distributed source file) and docbook2man is used, each
'make' invocation will attempt to regenerate modprobe.d.5 by calling
'docbook2man doc/doc/modprobe.d.sgml'. This doesn't work however,
docbook2man will update modprobe.conf.5 instead. So kill the
modprobe.d.sgml symlink and use distributed file. Also fix the .so link
there.

Signed-off-by: Michal Marek <mmarek@xxxxxxx>
---
 doc/modprobe.d.sgml |    1 -
 modprobe.d.5        |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
 delete mode 120000 doc/modprobe.d.sgml

diff --git a/doc/modprobe.d.sgml b/doc/modprobe.d.sgml
deleted file mode 120000
index ab88a6d..0000000
--- a/doc/modprobe.d.sgml
+++ /dev/null
@@ -1 +0,0 @@
-modprobe.conf.sgml
\ No newline at end of file
diff --git a/modprobe.d.5 b/modprobe.d.5
index d0ed026..a83566a 100644
--- a/modprobe.d.5
+++ b/modprobe.d.5
@@ -1 +1 @@
-.so modprobe.conf.5
+.so man5/modprobe.conf.5
-- 
1.7.0.3

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux