Skip to content
Snippets Groups Projects
Commit fee5774e authored by g0dil's avatar g0dil
Browse files

debian: Move documentation into 'html' subdir

debian: Clean up documtentation removing unneeded files
parent 9f08dff9
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0; URL=doc/html/index.html"> <meta http-equiv="refresh" content="0; URL=html/doc/html/index.html">
<title>SENF - Simple and Extensible Network Framework</title> <title>SENF - Simple and Extensible Network Framework</title>
</head> </head>
<body> <body>
<h2>SENF - Simple and Extensible Network Framework</h2> <h2>SENF - Simple and Extensible Network Framework</h2>
<p> <p>
<a href="doc/html/index.html">SENF Manual</a> <a href="html/doc/html/index.html">SENF Manual</a>
</p> </p>
</body> </body>
</html> </html>
...@@ -78,8 +78,11 @@ build-indep-stamp: configure-stamp ...@@ -78,8 +78,11 @@ build-indep-stamp: configure-stamp
scons fixlinks scons fixlinks
scons $(destdir)/usr/include $(destdir)/usr/share/doc $(SCONS_OPTIONS) \ scons $(destdir)/usr/include $(destdir)/usr/share/doc $(SCONS_OPTIONS) \
PREFIX='$(destdir)/usr' \ PREFIX='$(destdir)/usr' \
DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc' \ DOCINSTALLDIR='$$PREFIX/share/doc/libsenf-doc/html' \
INCLUDEINSTALLDIR='$$PREFIX/include/senf' INCLUDEINSTALLDIR='$$PREFIX/include/senf'
# Remove all the files not really needed from the documentation directories
find $(destdir)/usr/share/doc/libsenf-doc/html \
-type f ! -regex '.*\.\(html\|css\|png\|php\|idx\|tag\)' | xargs rm -f
# We need to install the example sourcecode # We need to install the example sourcecode
find Examples \( -name "*.hh" -o -name "*.cc" \) -printf "%P\n" | \ find Examples \( -name "*.hh" -o -name "*.cc" \) -printf "%P\n" | \
while read src; do \ while read src; do \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment