Fixed patch-Makefile.in so that install does not fail on FreeBSD.

This commit is contained in:
Niclas Rosenvik 2014-03-16 11:03:59 +00:00 committed by Thomas Klausner
parent 6f98f87d5d
commit 06b133c27f
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.2 2014/02/16 18:56:47 nros Exp $
$NetBSD: distinfo,v 1.3 2014/03/16 11:03:59 nros Exp $
SHA1 (qore-uuid-module-1.2.tar.bz2) = 815af9c3095cd82bd2075624514f391b6b8d5668
RMD160 (qore-uuid-module-1.2.tar.bz2) = 2502622a1cdac77515efe7ee2b45f6c6489213f7
Size (qore-uuid-module-1.2.tar.bz2) = 380672 bytes
SHA1 (patch-Makefile.in) = 96d8a4a85e7855515a1ce9ab8ab1e587941f153a
SHA1 (patch-Makefile.in) = d60dedeb3eebeac5d7f747408fef4453f5654e3b
SHA1 (patch-src_Makefile.in) = 38bf96fc819c39f48a3034040bd779bf0fe05fa7

View file

@ -1,7 +1,7 @@
$NetBSD: patch-Makefile.in,v 1.1 2014/02/16 18:56:48 nros Exp $
$NetBSD: patch-Makefile.in,v 1.2 2014/03/16 11:04:00 nros Exp $
* Remove doxygen dependecy
* Install the docs under share/qore/docs/modules
--- Makefile.in.orig 2014-02-16 18:40:01.000000000 +0000
--- Makefile.in.orig 2013-02-27 11:30:57.000000000 +0000
+++ Makefile.in
@@ -699,7 +699,7 @@ maintainer-clean-generic:
@echo "it deletes files that may require special tools to rebuild."
@ -23,7 +23,7 @@ $NetBSD: patch-Makefile.in,v 1.1 2014/02/16 18:56:48 nros Exp $
-@COND_DOXYGEN_TRUE@ for f in $$dir/search/*; do $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/$(PACKAGE)/$$dir/search; done; \
-@COND_DOXYGEN_TRUE@ done
+install-html-local:
+ $(MKDIR_P) $(DESTDIR)$(datadir)/qore/docs/modules/uuid/html/search; done
+ $(MKDIR_P) $(DESTDIR)$(datadir)/qore/docs/modules/uuid/html/search
+ for dir in docs/uuid/html; do \
+ for f in $$dir/*; do if [ -f $$f ]; then $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/qore/docs/modules/uuid/html; fi; done; \
+ for f in $$dir/search/*; do $(INSTALL_DATA) $$f $(DESTDIR)$(datadir)/qore/docs/modules/uuid/html/search; done; \