Glibmm and gtkmm do pass 'make distcheck'. If you want to build them from source code in git, use jhbuild. https://wiki.gnome.org/Projects/Jhbuild https://developer.gnome.org/gtkmm-tutorial/stable/chapter-working-with-source.html.en It can take a while to set everything upĀ and build it the first time. Kjell Den 2014-11-11 18:39,
fr33domlover skrev:
Hello, I've been working on a C++ project and recently I started adding doxygen support based on mm-common. It's a bit different so I didn't just paste the code as-is: - It uses only POSIX features (e.g. no GNU make functions like patsubst and no wildcards) so it doesn't need the -Wno-portability flag (I use the 'find' instead, some Automake features and a bit of trivial targets copied from generated Makefile) - It builds 2 separate sets of docs (1 for API, 1 is full code reference for hackers) - Installation uses regular rules and not a Perl script - although I haven't yet implemented using tag files so maybe those will require Perl (I don't know yet why Perl is needed there, haven't checked) Today I finished writing the first version of this setup and it failed at `make distcheck` because the HTML files are in MAINTAINERCLEANFILES and not DISTCLEANFILES. That makes sense - delete the docs only on `make maintainer-clean`. But how to make `make distcheck` not complain due to these files not deleted on `make distclean`? I read about how to do it, but I didn't see that mm-common does anything like that. So I had an idea - maybe glibmm, gtkmm, etc. simply don't pass `make distcheck`. I decided to check. I failed to build them, and I couldn't find info about it, so I decided to ask here - how do these modules pass `make distcheck`? It expects disted files to be distributed at distclean time, but it doesn't happen. What I did was to install mm-common from git, and then try building glibmm and gtkmm. They gave errors about ENABLE_DOCUMENTATION not defined with a AM_CONDITIONAL. Was there another step, e.g. manually copying mm-common files into glibmm tree, which I missed? Thanks in advance! fr33domlover PGP key ID: 63E5E57D |