mirror of https://github.com/nymea/nymea.git
guh-generateplugininfo -> nymea-generateplugininfo
parent
39fc071ed6
commit
34e387fa2b
|
|
@ -129,7 +129,7 @@ SOURCES += devicemanager.cpp \
|
|||
hardwaremanager.cpp \
|
||||
|
||||
# install plugininfo python script for libnymea-dev
|
||||
generateplugininfo.files = $$top_srcdir/plugins/guh-generateplugininfo
|
||||
generateplugininfo.files = $$top_srcdir/plugins/nymea-generateplugininfo
|
||||
generateplugininfo.path = /usr/bin
|
||||
|
||||
INSTALLS += generateplugininfo
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ def writeExternPluginInfoFile():
|
|||
|
||||
if __name__ == '__main__':
|
||||
# Argument parser
|
||||
parser = argparse.ArgumentParser(description='The guh-generateplugininfo is a precompiler for building plugins. This precompiler will create a plugininfo.h containing the uuid definitions from the plugin json file and creates the translations for the plugin.')
|
||||
parser = argparse.ArgumentParser(description='The nymea-generateplugininfo is a precompiler for building plugins. This precompiler will create a plugininfo.h containing the uuid definitions from the plugin json file and creates the translations for the plugin.')
|
||||
parser.add_argument('-j', '--jsonfile', help='The JSON input file name with the plugin description', metavar='jsonfile', required=True)
|
||||
parser.add_argument('-b', '--builddir', help='The path to the build directory of the plugin where the plugininfo.h file can be found.', metavar='buildpath', required=True)
|
||||
parser.add_argument('-f', '--filetype', help='The file type to generate: e = extern infofile, i = infofile', action='store', choices=['e', 'i'], default='i')
|
||||
|
|
@ -15,7 +15,7 @@ plugininfo.target = plugininfo.h
|
|||
plugininfo.output = plugininfo.h
|
||||
plugininfo.CONFIG = no_link
|
||||
plugininfo.input = JSONFILES
|
||||
plugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/guh-generateplugininfo \
|
||||
plugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/nymea-generateplugininfo \
|
||||
--filetype i \
|
||||
--jsonfile ${QMAKE_FILE_NAME} \
|
||||
--output ${QMAKE_FILE_OUT} \
|
||||
|
|
@ -25,7 +25,7 @@ externplugininfo.target = extern-plugininfo.h
|
|||
externplugininfo.output = extern-plugininfo.h
|
||||
externplugininfo.CONFIG = no_link
|
||||
externplugininfo.input = JSONFILES
|
||||
externplugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/guh-generateplugininfo \
|
||||
externplugininfo.commands = touch ${QMAKE_FILE_OUT}; $$top_srcdir/plugins/nymea-generateplugininfo \
|
||||
--filetype e \
|
||||
--jsonfile ${QMAKE_FILE_NAME} \
|
||||
--output ${QMAKE_FILE_OUT} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue