[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752897:



Hi, 

Well, appearantly malat uploaded in the meantime...

Malat, this is great, but could you also drop a note to the BTS if you
are doing that to avoid double work, especially if there is activiy and
the owner of the RFS-bug has been set to indicate that someone is
working on it.. Thanks ;).

Regarding the package, unfortunately, the way Build-Depends-Indep is
used will likely not work: You need also to work on d/rules. 
I'm not sure how the buildds handle Build-Depends-Indep, but if they
don't install them the package will FTBFS.
(Try dpkg-buildpackage -B with doxygen not installed.)   

Most likely d/rules need to detect if it is supposed to build the docs;
You can use dh_listpackages or, an easy way, detect doxygen and act
accordingls: For example something like that: (note, I did not test that
below)

override_dh_auto_configure:
        if [ -x /usr/bin/doxygen ] ; then dh_auto_configure --
-DENABLE_DOCS:BOOL=ON -DENABLE_STANDARD_ALLOCATOR:BOOL=ON ;\
          else dh_auto_configure -- -DENABLE_DOCS:BOOL=OFF
-DENABLE_STANDARD_ALLOCATOR:BOOL=ON; fi

override_dh_auto_build:
        if [ -x /usr/bin/doxygen ] ; then dh_auto_build -- doc ; else
dh_auto_build ; fi
    

Please also remember to fix the VCS-fields the next upload.
                                                                                                                                                                                                                             
--
tobi

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: