qt: Install cmake config into qgpgme subdir
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 2 Nov 2016 13:36:56 +0000 (14:36 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 2 Nov 2016 13:36:56 +0000 (14:36 +0100)
* lang/qt/src/Makefile.am: Install cmake config file in qgpgme subdir.

--
Putting it together with Gpgmepp was done for historic reasons
but the proper way is for each library to have its own subdir.

lang/qt/src/Makefile.am

index e16c489..8742bc8 100644 (file)
@@ -236,16 +236,16 @@ $(camelcase_headers): Makefile.am
        echo ".h\"" >> "$@"
 
 install-cmake-files: QGpgmeConfig.cmake QGpgmeConfigVersion.cmake
-       -$(INSTALL) -d $(DESTDIR)$(libdir)/cmake/Gpgmepp
+       -$(INSTALL) -d $(DESTDIR)$(libdir)/cmake/QGpgme
        $(INSTALL) -m 644 QGpgmeConfig.cmake \
-        $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfig.cmake
+        $(DESTDIR)$(libdir)/cmake/QGpgme/QGpgmeConfig.cmake
        $(INSTALL) -m 644 QGpgmeConfigVersion.cmake \
-        $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfigVersion.cmake
+        $(DESTDIR)$(libdir)/cmake/QGpgme/QGpgmeConfigVersion.cmake
 
 uninstall-cmake-files:
-       -rm $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfigVersion.cmake
-       -rm $(DESTDIR)$(libdir)/cmake/Gpgmepp/QGpgmeConfig.cmake
-       -rmdir $(DESTDIR)$(libdir)/cmake/Gpgmepp/
+       -rm $(DESTDIR)$(libdir)/cmake/QGpgme/QGpgmeConfigVersion.cmake
+       -rm $(DESTDIR)$(libdir)/cmake/QGpgme/QGpgmeConfig.cmake
+       -rmdir $(DESTDIR)$(libdir)/cmake/QGpgme/
 
 install-data-local: install-cmake-files