Code

configure.ac: Use AC_MSG_RESULT() to display summary.
[template.git] / Makefile.am
index 9baf3dabd11cf10887911c2408337a89636b0c03..3fab3faac2ce52117ee4115f290c7c99f68451e4 100644 (file)
@@ -1,4 +1,11 @@
-SUBDIRS = doc src
+SUBDIRS = src
+if BUILD_DOCUMENTATION
+SUBDIRS += doc
+endif
 
 EXTRA_DIST = autogen.sh version-gen.sh
 
+version: FORCE
+       @# As a side-effect, this updates version.
+       @echo Building $(PACKAGE_NAME) version $$( cd .. && ./version-gen.sh )
+