[Lunar-commits] <moonbase> docbook-sgml: fixed potential build problems

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Sep 4 15:24:57 CEST 2010


commit d08f451f8e3ce4bb365b55ab3cba54bc4fcc13bd
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Sep 4 15:24:57 2010 +0200

    docbook-sgml: fixed potential build problems
---
 doc-tools/docbook-sgml/BUILD        |    3 ++-
 doc-tools/docbook-sgml/POST_INSTALL |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/doc-tools/docbook-sgml/BUILD b/doc-tools/docbook-sgml/BUILD
index 70e8149..1d0876c 100644
--- a/doc-tools/docbook-sgml/BUILD
+++ b/doc-tools/docbook-sgml/BUILD
@@ -11,6 +11,7 @@
 
   prepare_install &&
   rm -rf old.libraries &&
-  cp -a $BUILD_DIRECTORY/sgml /usr/share/sgml/docbook
+  mkdir -p /usr/share/sgml/docbook &&
+  cp -af $BUILD_DIRECTORY/sgml /usr/share/sgml/docbook
 
 ) > $C_FIFO 2>&1
diff --git a/doc-tools/docbook-sgml/POST_INSTALL b/doc-tools/docbook-sgml/POST_INSTALL
index 80992df..9044fe5 100644
--- a/doc-tools/docbook-sgml/POST_INSTALL
+++ b/doc-tools/docbook-sgml/POST_INSTALL
@@ -11,3 +11,4 @@ install-catalog --add $CENTRALIZED $DOCBOOK_INSTALL_DIR/catalog
 done
 # Do not loopback (breaks docbook-utils build)
 install-catalog -r $CENTRALIZED /etc/sgml/catalog
+lin -rc docbook-utils


More information about the Lunar-commits mailing list