[csw-devel] SF.net SVN: gar:[22096] csw/mgar/pkg/lang-python/sphinx/trunk/Makefile
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Wed Oct 2 18:34:17 CEST 2013
Revision: 22096
http://gar.svn.sourceforge.net/gar/?rev=22096&view=rev
Author: pfelecan
Date: 2013-10-02 16:34:17 +0000 (Wed, 02 Oct 2013)
Log Message:
-----------
lang-python/sphinx: add a sub-package containing the info files ant,
if needed in the future, other formats
Modified Paths:
--------------
csw/mgar/pkg/lang-python/sphinx/trunk/Makefile
Modified: csw/mgar/pkg/lang-python/sphinx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/sphinx/trunk/Makefile 2013-10-02 15:52:21 UTC (rev 22095)
+++ csw/mgar/pkg/lang-python/sphinx/trunk/Makefile 2013-10-02 16:34:17 UTC (rev 22096)
@@ -1,4 +1,4 @@
-# Copyright 2009 OpenCSW
+# Copyright 2009-2013 OpenCSW
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -12,9 +12,10 @@
endef
DISTFILES = $(DISTNAME).tar.gz
PATCHFILES += 0001-fix-infodir.patch
-ARCHALL_CSWpy-sphinx = 1
+
BUILD_DEP_PKGS += CSWpython-dev
BUILD_DEP_PKGS += CSWpython27-dev
+BUILD_DEP_PKGS += CSWtexinfo
DEP_PKGS += CSWpy-docutils
DEP_PKGS += CSWpy-jinja2
DEP_PKGS += CSWpy-pygments
@@ -23,4 +24,27 @@
CHECKPKG_OVERRIDES_CSWpy-sphinx += surplus-dependency|CSWpy-jinja2
CHECKPKG_OVERRIDES_CSWpy-sphinx += surplus-dependency|CSWpy-pygments
CHECKPKG_OVERRIDES_CSWpy-sphinx += surplus-dependency|CSWpysetuptools
+
+PACKAGES += CSWpy-sphinx
+CATALOGNAME_CSWpy-sphinx = py_sphinx
+SPKG_DESC_CSWpy-sphinx += $(DESCRIPTION)
+ARCHALL_CSWpy-sphinx = 1
+
+PACKAGES += CSWpy-sphinx-doc
+CATALOGNAME_CSWpy-sphinx-doc = py_sphinx_doc
+SPKG_DESC_CSWpy-sphinx-doc += $(DESCRIPTION), documentation
+PKGFILES_CSWpy-sphinx-doc += /opt/csw/share/info/.*
+ARCHALL_CSWpy-sphinx-doc = 1
+
include gar/category.mk
+
+PATH := /opt/csw/gnu:$(PATH)
+
+post-build:
+ cd $(WORKSRC)/doc && /usr/bin/env -i $(BUILD_ENV) && $(MAKE) info
+ $(MAKECOOKIE)
+
+post-install:
+ ginstall -d "$(DESTDIR)$(infodir)"
+ cd $(WORKSRC)/doc/_build/texinfo && ginstall --preserve-timestamps --mode=u=rw,go=r *.info *.png $(DESTDIR)$(infodir)
+ $(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list