[Lunar-commits] <moonbase-other> CUnit: fix installation to /usr/doc and simplify BUILD

v4hn me at v4hn.de
Tue Aug 12 16:28:06 CEST 2014


commit fa79502567b3f2ee451c801d711c09dc51d96669
Author: v4hn <me at v4hn.de>
Date: Tue, 12 Aug 2014 16:25:37 +0200
URL: https://github.com/lunar-linux/moonbase-other/commit/fa79502567b3f2ee451c801d711c09dc51d96669

CUnit: fix installation to /usr/doc and simplify BUILD
---
  libs/CUnit/BUILD     | +1/-6     
  libs/CUnit/PRE_BUILD | +4/-1     
  2 files changed, 5 insertions(+), 7 deletions(-)

--- a/libs/CUnit/BUILD
+++ b/libs/CUnit/BUILD
@@ -1,9 +1,4 @@
-
   mv configure.in configure.ac &&
-  touch config.h.in &&
-  libtoolize &&
-  aclocal &&
-  automake -a -c &&
-  autoreconf &&
+  autoreconf -i &&
   
   default_build
--- a/libs/CUnit/PRE_BUILD
+++ b/libs/CUnit/PRE_BUILD
@@ -1,4 +1,7 @@
 default_pre_build &&
 
 sedit "s:\(docdir =\) .*:\1 @docdir@:" doc/Makefile.in &&
-sedit "s:\(dochdrdir =\) .*:\1 \$(prefix)/include/@PACKAGE@:" doc/headers/Makefile.in
+sedit "/docdir/ d" doc/Makefile.am &&
+
+sedit "s:\(dochdrdir =\) .*:\1 \$(prefix)/include/@PACKAGE@:" doc/headers/Makefile.in &&
+sedit "s:\(dochdrdir =\) .*:\1 @docdir@/headers:" doc/headers/Makefile.am




More information about the Lunar-commits mailing list