diff options
author | P. F. Chimento <philip.chimento@gmail.com> | 2013-05-16 15:27:22 +0200 |
---|---|---|
committer | P. F. Chimento <philip.chimento@gmail.com> | 2013-05-16 15:27:22 +0200 |
commit | 6316854dac384585ed29a81d88184f788976400c (patch) | |
tree | 394289045d31d33a3da23cc041a301f6660315e7 /Makefile.am | |
parent | ab5921b74431197b63f8b4be432560c9e01b7425 (diff) |
Ensure that Gtk-Doc and GIR doc are enabled for distributions
'make dist' and 'make distcheck' do not work without calling
./configure --enable-gtk-doc --enable-gir-doc.
[endlessm/eos-sdk#86]
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b04dad6..916708b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,6 +29,18 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-gir-doc CLEANFILES = DISTCLEANFILES = +# Make sure that 'make dist' includes documentation +if CAN_MAKE_DIST +dist-hook: +else +dist-hook: + @echo "***" + @echo "*** You must configure with --enable-gtk-doc and --enable-gir-doc" + @echo "*** to run make dist or make distcheck." + @echo "***" + @false +endif + # # # LIBRARY # # # # Main Open Endless SDK library |