diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:41:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:41:20 +0000 |
commit | 2cd20b3e73d0162e3fa23ebcee8e89a3b967ca6f (patch) | |
tree | 754a142de5cd8f987abe255e8a15b5ef94109da4 /Makefile.am | |
parent | Initial commit. (diff) | |
download | libcmis-2cd20b3e73d0162e3fa23ebcee8e89a3b967ca6f.tar.xz libcmis-2cd20b3e73d0162e3fa23ebcee8e89a3b967ca6f.zip |
Adding upstream version 0.6.2.upstream/0.6.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..3c1de92 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,56 @@ +include $(top_srcdir)/coverage.mk + +SUBDIRS = inc src + +if ENABLE_TESTS +SUBDIRS += qa +endif + +ACLOCAL_AMFLAGS = -I m4 + +pkgconfig_DATA = \ + libcmis-@LIBCMIS_API_VERSION@.pc \ + libcmis-c-@LIBCMIS_API_VERSION@.pc +pkgconfigdir = $(libdir)/pkgconfig + +if ENABLE_MAN +cmis-client.1: doc/cmis-client.xml + $(DOCBOOK2MAN) $< + +man_MANS = cmis-client.1 +endif + +EXTRA_DIST = \ + libcmis.pc.in \ + libcmis-c.pc.in \ + COPYING.MPL \ + COPYING.GPL \ + COPYING.LGPL \ + doc/cmis-client.xml.in \ + cppcheck-suppress \ + qa/libcmis/data + +DISTCLEANFILES = \ + cmis-client.1 \ + libcmis-@LIBCMIS_API_VERSION@.pc \ + libcmis-c-@LIBCMIS_API_VERSION@.pc + +dist-hook: + @if test -d "$(srcdir)/.git"; \ + then \ + echo Creating ChangeLog && \ + ( cd "$(top_srcdir)" && \ + echo '# Generated by Makefile. Do not edit.'; echo; \ + $(top_srcdir)/missing --run git log --pretty=medium ) > ChangeLog.tmp \ + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ + || ( rm -f ChangeLog.tmp ; \ + echo Failed to generate ChangeLog >&2 ); \ + else \ + echo A git clone is required to generate a ChangeLog >&2; \ + fi + +cppcheck: + @CPPCHECK@ -q --enable=style,performance,portability \ + -j @CPPCHECK_PARALLELISM@ \ + --suppressions-list=@SRCDIR@/cppcheck-suppress \ + --error-exitcode=1 @SRCDIR@ |