libkate contrib: skip documentation
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 9 Feb 2009 21:47:59 +0000 (23:47 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 9 Feb 2009 21:50:19 +0000 (23:50 +0200)
extras/contrib/src/Makefile
extras/contrib/src/Patches/libkate-nodocs.patch [new file with mode: 0644]

index 348e1c0..2943a27 100644 (file)
@@ -2321,6 +2321,7 @@ libkate: libkate-$(KATE_VERSION).tar.gz
        $(EXTRACT_GZ)
 
 .kate: libkate .ogg
+       (cd $<; patch -p1) < Patches/libkate-nodocs.patch
        (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-valgrind && make && make install)
        $(INSTALL_NAME)
        touch $@
diff --git a/extras/contrib/src/Patches/libkate-nodocs.patch b/extras/contrib/src/Patches/libkate-nodocs.patch
new file mode 100644 (file)
index 0000000..93ebc60
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ru libkate-0.1.7/doc/Makefile libkate/doc/Makefile
+diff -ru libkate-0.1.7/doc/Makefile.am libkate/doc/Makefile.am
+--- libkate-0.1.7/doc/Makefile.am      2008-08-11 01:59:03.000000000 +0300
++++ libkate/doc/Makefile.am    2009-02-09 23:41:53.000000000 +0200
+@@ -31,7 +31,6 @@
+ else
+ .doc-dummy-target:
+       echo "doxygen not found, cannot build docs"
+-      /bin/false
+ endif
+ dist-hook: .doc-dummy-target
+Seulement dans libkate/doc: Makefile.am~
+diff -ru libkate-0.1.7/doc/Makefile.in libkate/doc/Makefile.in
+--- libkate-0.1.7/doc/Makefile.in      2008-08-11 01:59:03.000000000 +0300
++++ libkate/doc/Makefile.in    2009-02-09 23:42:13.000000000 +0200
+@@ -389,7 +389,6 @@
+ @HAVE_DOXYGEN_TRUE@   doxygen kate.doxygen
+ @HAVE_DOXYGEN_FALSE@.doc-dummy-target:
+ @HAVE_DOXYGEN_FALSE@  echo "doxygen not found, cannot build docs"
+-@HAVE_DOXYGEN_FALSE@  /bin/false
+ dist-hook: .doc-dummy-target
+       cp -fR * $(distdir)