diff --git a/Makefile b/Makefile index e9d14551..0538b52c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ #******************************************************************************* -# Copyright (c) 2009, 2019 IBM Corp. +# Copyright (c) 2009, 2020 IBM Corp. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v2.0 @@ -304,6 +304,7 @@ install: build $(INSTALL_DATA) ${srcdir}/MQTTProperties.h $(DESTDIR)${includedir} $(INSTALL_DATA) ${srcdir}/MQTTReasonCodes.h $(DESTDIR)${includedir} $(INSTALL_DATA) ${srcdir}/MQTTSubscribeOpts.h $(DESTDIR)${includedir} + $(INSTALL_DATA) ${srcdir}/MQTTExportDeclarations.h $(DESTDIR)${includedir} - $(INSTALL_DATA) doc/man/man1/paho_c_pub.1 $(DESTDIR)${man1dir} - $(INSTALL_DATA) doc/man/man1/paho_c_sub.1 $(DESTDIR)${man1dir} - $(INSTALL_DATA) doc/man/man1/paho_cs_pub.1 $(DESTDIR)${man1dir} @@ -341,6 +342,7 @@ uninstall: - rm $(DESTDIR)${includedir}/MQTTProperties.h - rm $(DESTDIR)${includedir}/MQTTReasonCodes.h - rm $(DESTDIR)${includedir}/MQTTSubscribeOpts.h + - rm $(DESTDIR)${includedir}/MQTTExportDeclarations.h - rm $(DESTDIR)${man1dir}/paho_c_pub.1 - rm $(DESTDIR)${man1dir}/paho_c_sub.1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 79344a47..fb367b37 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -178,7 +178,7 @@ IF (PAHO_BUILD_STATIC) ENDIF() ENDIF() -INSTALL(FILES MQTTAsync.h MQTTClient.h MQTTClientPersistence.h MQTTProperties.h MQTTReasonCodes.h MQTTSubscribeOpts.h ExportDeclarations.h +INSTALL(FILES MQTTAsync.h MQTTClient.h MQTTClientPersistence.h MQTTProperties.h MQTTReasonCodes.h MQTTSubscribeOpts.h MQTTExportDeclarations.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) IF (PAHO_WITH_SSL)