From 194596fc779a1a67c3cb19f2bed4a0edf20cb944 Mon Sep 17 00:00:00 2001
From: wrobell <>
Date: Wed, 27 Mar 2002 23:23:52 +0000
Subject: [PATCH] - more about installing when automake is used by developers -
minor improvements
---
LDP/guide/docbook/PLD-Guide/devel/python.xml | 26 ++++++++++++++++----
LDP/guide/docbook/PLD-Guide/python.xml | 26 ++++++++++++++++----
2 files changed, 42 insertions(+), 10 deletions(-)
diff --git a/LDP/guide/docbook/PLD-Guide/devel/python.xml b/LDP/guide/docbook/PLD-Guide/devel/python.xml
index 2c15b972..fecf1ec4 100644
--- a/LDP/guide/docbook/PLD-Guide/devel/python.xml
+++ b/LDP/guide/docbook/PLD-Guide/devel/python.xml
@@ -67,10 +67,25 @@
+ Automake 1.5 introduced Python
+ support. Developers want to use the same tool for
+ their projects written in Python or C and
+ automake gives such possibility to them.
+
+
+ Installing Python modules can be done the same way
+ as installing other applications or libraries, which
+ authors use automake.
+ Just remember to pass $RPM_BUILD_ROOT
+ to DESTDIR, so
+ make will install source files
+ (*.py), byte compiled (*.pyc) and optimized byte compiled
+ (*.pyo) files under $RPM_BUILD_ROOT
+ hierarchy.
- Installing Python modules with
- automake Makefile files.
+ Installing Python modules with Makefile files
+ created with automake.
%{__make} install DESTDIR=$RPM_BUILD_ROOT
@@ -82,10 +97,11 @@
has ability to install optimized and
normal byte compiled files. It can be done with
setup.py script option
- --optimize. Installed files
+ --optimize.
+ Option --root should
+ be used too, because installed files
should be put in $RPM_BUILD_ROOT
- directory and option --root can
- be used.
+ directory.
Installing Python modules in RPM install section
diff --git a/LDP/guide/docbook/PLD-Guide/python.xml b/LDP/guide/docbook/PLD-Guide/python.xml
index 2c15b972..fecf1ec4 100644
--- a/LDP/guide/docbook/PLD-Guide/python.xml
+++ b/LDP/guide/docbook/PLD-Guide/python.xml
@@ -67,10 +67,25 @@
+ Automake 1.5 introduced Python
+ support. Developers want to use the same tool for
+ their projects written in Python or C and
+ automake gives such possibility to them.
+
+
+ Installing Python modules can be done the same way
+ as installing other applications or libraries, which
+ authors use automake.
+ Just remember to pass $RPM_BUILD_ROOT
+ to DESTDIR, so
+ make will install source files
+ (*.py), byte compiled (*.pyc) and optimized byte compiled
+ (*.pyo) files under $RPM_BUILD_ROOT
+ hierarchy.
- Installing Python modules with
- automake Makefile files.
+ Installing Python modules with Makefile files
+ created with automake.
%{__make} install DESTDIR=$RPM_BUILD_ROOT
@@ -82,10 +97,11 @@
has ability to install optimized and
normal byte compiled files. It can be done with
setup.py script option
- --optimize. Installed files
+ --optimize.
+ Option --root should
+ be used too, because installed files
should be put in $RPM_BUILD_ROOT
- directory and option --root can
- be used.
+ directory.
Installing Python modules in RPM install section