summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Nilsson <troglobit@gmail.com>2019-10-11 07:07:27 +0200
committerJoachim Nilsson <troglobit@gmail.com>2019-10-11 07:07:27 +0200
commit12dee0871c95a58550b0db7707abafb8727a01dd (patch)
tree44d34cf2b5d5d4b3565bd81c53e703b0f1fd09bb
parent8c1dbaee436875e7782f7e9892f5c80ce3124eab (diff)
downloadlibnet-12dee0871c95a58550b0db7707abafb8727a01dd.tar.gz
Let release target depend on doc, even if building without doxygen
If we have doxygen installed then configure should find it, and if so we should build man pages and include in tarball. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e30b647..9e85669 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,9 @@ doc: doxygen-doc
## The distribution should include man pages, which are generated
dist-hook: doc
+else
+doc:
+ @echo "Doxygen documentation (html + man) disabled, skipping ..."
endif
## Generate MD5 checksum file
@@ -58,7 +61,7 @@ release-hook:
fi
## Target to run when building a release
-release: distcheck release-hook md5-dist
+release: doc distcheck release-hook md5-dist
@echo
@echo "Resulting release files:"
@echo "================================================================="