[Python-modules-commits] r2864 - in /packages/plastex/trunk/debian: python-plastex.install rules

azatoth-guest at users.alioth.debian.org azatoth-guest at users.alioth.debian.org
Fri Jul 27 17:05:54 UTC 2007


Author: azatoth-guest
Date: Fri Jul 27 17:05:54 2007
New Revision: 2864

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2864
Log:
split functional

Added:
    packages/plastex/trunk/debian/python-plastex.install
Modified:
    packages/plastex/trunk/debian/rules

Added: packages/plastex/trunk/debian/python-plastex.install
URL: http://svn.debian.org/wsvn/python-modules/packages/plastex/trunk/debian/python-plastex.install?rev=2864&op=file
==============================================================================
--- packages/plastex/trunk/debian/python-plastex.install (added)
+++ packages/plastex/trunk/debian/python-plastex.install Fri Jul 27 17:05:54 2007
@@ -1,0 +1,2 @@
+debian/tmp/usr/bin/plastex
+debian/tmp/usr/lib/*

Modified: packages/plastex/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/plastex/trunk/debian/rules?rev=2864&op=diff
==============================================================================
--- packages/plastex/trunk/debian/rules (original)
+++ packages/plastex/trunk/debian/rules Fri Jul 27 17:05:54 2007
@@ -8,13 +8,15 @@
 include $(CURDIR)/debian/mk/docbook-xml-manpage.mk
 
 DOCBOOKXML_MANPAGE_SOURCES = debian/xml-man/plastex.xml
+post-patches::
+	if [ ! -d html ]; then \
+		cd Doc; \
+		export PYTHONPATH=..; \
+		export TEXINPUTS=.:$(CURDIR)/Doc/commontex:$(CURDIR)/Doc/texinputs; \
+		../plasTeX/plastex plastex.tex; \
+		cd ..; \
+		mv Doc/plastex html; \
+	fi;
 
-DEB_INSTALL_DOCS_python_plastex_docs = html
-
-common-build-indep::
-	cd Doc; \
-	export PYTHONPATH=..; \
-	export TEXINPUTS=.:$(CURDIR)/Doc/commontex:$(CURDIR)/Doc/texinputs; \
-	../plasTeX/plastex plastex.tex; \
-	cd ..; \
-	mv Doc/plastex html;
+clean::
+	rm -rf html




More information about the Python-modules-commits mailing list