2007-07-21 13:14:57 -04:00
|
|
|
$OpenBSD: patch-mk_package_mk,v 1.5 2007/07/21 17:14:58 kili Exp $
|
2003-08-12 09:25:18 -04:00
|
|
|
|
2007-07-21 13:14:57 -04:00
|
|
|
No html subdirectories so we don't confuse haddock for ports depending
|
|
|
|
on this. See also patch-mk_config_mk_in, which changes datadir (and
|
|
|
|
this influences PKG_DATADIR).
|
|
|
|
|
|
|
|
--- mk/package.mk.orig Wed Apr 25 19:10:41 2007
|
|
|
|
+++ mk/package.mk Wed Jun 20 18:59:27 2007
|
|
|
|
@@ -45,7 +45,7 @@ DATA_DIR_INSTALLED = $(PKG_DATADIR)
|
|
|
|
DATA_DIR_INPLACE = $(FPTOOLS_TOP_ABS)/libraries/$(PACKAGE)
|
|
|
|
|
|
|
|
HTML_DIR_INPLACE = $(FPTOOLS_TOP_ABS)/libraries/$(PACKAGE)/html
|
|
|
|
-HTML_DIR_INSTALLED = $(PKG_DATADIR)/html/libraries/$(PACKAGE)
|
|
|
|
+HTML_DIR_INSTALLED = $(PKG_DATADIR)/libraries/$(PACKAGE)
|
|
|
|
|
|
|
|
HADDOCK_IFACE_INPLACE = $(HTML_DIR_INPLACE)/$(PACKAGE).haddock
|
|
|
|
HADDOCK_IFACE_INSTALLED = $(HTML_DIR_INSTALLED)/$(PACKAGE).haddock
|
|
|
|
@@ -371,7 +371,7 @@ CLEAN_FILES += $(PACKAGE).haddock
|
|
|
|
%.raw-hs : %.hs
|
|
|
|
$(HC) $(HC_OPTS) -D__HADDOCK__ -E $< -o $@
|
2003-08-12 09:25:18 -04:00
|
|
|
|
2007-07-21 13:14:57 -04:00
|
|
|
-HTML_INSTALL_DIR = $(datadir)/html/libraries/$(PACKAGE)
|
|
|
|
+HTML_INSTALL_DIR = $(datadir)/libraries/$(PACKAGE)
|
|
|
|
# NOT the same as HTML_DIR_INSTALLED when BIN_DIST is on
|
2003-08-12 09:25:18 -04:00
|
|
|
|
2007-07-21 13:14:57 -04:00
|
|
|
install-docs :: $(HTML_DOC)
|