Fixed HTML docs
* A broken sed command was corrupting the files.
This commit is contained in:
2
debian/rules
vendored
2
debian/rules
vendored
@@ -39,8 +39,6 @@ build-stamp:
|
|||||||
mkdir -p $(build_dir) doc
|
mkdir -p $(build_dir) doc
|
||||||
cd $(build_dir); epydoc --no-sourcecode --html -n $(name) \
|
cd $(build_dir); epydoc --no-sourcecode --html -n $(name) \
|
||||||
--exclude configobj ../$(name)/*.py
|
--exclude configobj ../$(name)/*.py
|
||||||
sed -i "s/<\?/<!/g" $(build_dir)/html/*.html
|
|
||||||
sed -i "s/\?>/>/g" $(build_dir)/html/*.html
|
|
||||||
cp -r $(build_dir)/html doc/
|
cp -r $(build_dir)/html doc/
|
||||||
touch build-stamp
|
touch build-stamp
|
||||||
|
|
||||||
|
@@ -24,8 +24,6 @@ API for RisingTide Systems generic SCSI target.
|
|||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
mkdir -p doc
|
mkdir -p doc
|
||||||
epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
|
epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
|
||||||
sed -i "s/<\?/<!/g" html/*.html
|
|
||||||
sed -i "s/\?>/>/g" html/*.html
|
|
||||||
mv html doc/
|
mv html doc/
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Reference in New Issue
Block a user