X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc-docs.spec;fp=myplc-docs.spec;h=abed528ca30066696ccd11badb3c2a82fd2c3d0f;hb=e909577f3cf97aa26c2925a5a10d643213ef9a61;hp=d9444f734a8791b3ad60a80e85e13b89bac85081;hpb=47e24f005791021746f52193ad6de119baed68e4;p=myplc.git diff --git a/myplc-docs.spec b/myplc-docs.spec index d9444f7..abed528 100644 --- a/myplc-docs.spec +++ b/myplc-docs.spec @@ -42,7 +42,6 @@ rm -rf $RPM_BUILD_ROOT # using the new lowercase names, and handling legacy [ -d PLCAPI ] || ln -s plcapi PLCAPI -[ -d Monitor ] || ln -s monitor Monitor [ -d NodeManager ] || ln -s nodemanager NodeManager [ -d MyPLC ] || ln -s myplc MyPLC @@ -60,19 +59,11 @@ rm -f doc/NMAPI.html make -C doc NMAPI.html popd -pushd Monitor -# beware that making the pdf file somehow overwrites the html -make -C docs Monitor.pdf -rm -f docs/Monitor.html -make -C docs Monitor.html -popd - %install for ext in pdf html; do install -D -m 444 PLCAPI/doc/PLCAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/PLCAPI.$ext install -D -m 444 NodeManager/doc/NMAPI.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.$ext - install -D -m 444 Monitor/docs/Monitor.$ext $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.$ext done ./MyPLC/docbook2drupal.sh "PLC API Documentation (%{pldistro})" \ @@ -81,9 +72,6 @@ done ./MyPLC/docbook2drupal.sh "Node Manager API Documentation (%{pldistro})" \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.html \ $RPM_BUILD_ROOT/var/www/html/planetlab/doc/NMAPI.php -./MyPLC/docbook2drupal.sh "Monitor API Documentation (%{pldistro})" \ - $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.html \ - $RPM_BUILD_ROOT/var/www/html/planetlab/doc/Monitor.php %clean rm -rf $RPM_BUILD_ROOT