diff options
author | David Faure <faure@kde.org> | 2012-10-31 18:22:22 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2012-10-31 18:24:32 +0100 |
commit | 9d8174f0777647285c72e0c4da2a75ac9a58e750 (patch) | |
tree | 9ffd8ad12700c385aa34a96c11e15eaf171a259b | |
parent | e80c4de28ab31bd90875c792448aec671a288957 (diff) | |
download | extra-cmake-modules-9d8174f0777647285c72e0c4da2a75ac9a58e750.tar.gz extra-cmake-modules-9d8174f0777647285c72e0c4da2a75ac9a58e750.tar.bz2 |
Rename file and macro for consistency, as requested by Alexander.
"Can you please rename it to ECMDBusAddActivationService.cmake and
the contained macro to ecm_dbus_add_activation_service(), so it follows the
naming conventions in cmake (macro has the same name as the file) and ecm (all
macros have the prefix ecm)." -> Done.
Nothing to adapt in kdelibs-frameworks yet, it has its own copy for now
(I'll get rid of it at the next ECM version upgrade).
-rw-r--r-- | modules/ECMDBusAddActivationService.cmake (renamed from modules/MacroDBusAddActivationService.cmake) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/MacroDBusAddActivationService.cmake b/modules/ECMDBusAddActivationService.cmake index d31dab74..d65be03c 100644 --- a/modules/MacroDBusAddActivationService.cmake +++ b/modules/ECMDBusAddActivationService.cmake @@ -1,6 +1,6 @@ # Install a DBus ".service" file, so that a program can be started via DBus activation. # -# dbus_add_activation_service(inputfile) +# ecm_dbus_add_activation_service(inputfile) # # This macro will read the input file, generate a .service file from it, and install it # into the right directory for the dbus server to find it. @@ -9,7 +9,7 @@ # to XDG_DATA_DIRS before starting the DBus server. # # Example: -# dbus_add_activation_service(org.mydomain.myapp.service.in) +# ecm_dbus_add_activation_service(org.mydomain.myapp.service.in) # # The file org.mydomain.myapp.service.in contains: # @@ -31,7 +31,7 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the License for more information. -macro(dbus_add_activation_service _sources) +macro(ecm_dbus_add_activation_service _sources) foreach(_i ${_sources}) get_filename_component(_service_file ${_i} ABSOLUTE) string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i}) |