File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change 74
74
# its a go -- create the plugin and modify the build files
75
75
#
76
76
# create the new plugin directory
77
- system (" cp -r plugin_template $pluginDir " );
78
- # remove the README file
79
- system (" rm -rf $pluginDir /README" );
80
- # remove the subversion directory
81
- system (" rm -rf $pluginDir /.svn" );
77
+ system (" mkdir $pluginDir " );
82
78
# copy files to appropriate names
83
- system (" cp $pluginDir /plugin.cpp $pluginDir /$pluginLCaseName .cpp" );
84
- system (" cp $pluginDir /plugin.h $pluginDir /$pluginLCaseName .h" );
85
- # todo sort out copying these next items properly
86
- system (" cp $pluginDir /pluginbase.cpp $pluginDir /$pluginLCaseName .cpp" );
87
- system (" cp $pluginDir /plugin.cpp $pluginDir /$pluginLCaseName .cpp" );
79
+ system (" cp plugin_template/Makefile.am $pluginDir /" );
80
+ system (" cp plugin_template/plugin.cpp $pluginDir /$pluginLCaseName .cpp" );
81
+ system (" cp plugin_template/plugin.h $pluginDir /$pluginLCaseName .h" );
82
+ system (" cp plugin_template/plugingui.cpp $pluginDir /${pluginLCaseName} gui.cpp" );
83
+ system (" cp plugin_template/plugingui.h $pluginDir /${pluginLCaseName} gui.h" );
84
+ system (" cp plugin_template/pluginguibase.ui $pluginDir /${pluginLCaseName} guibase.ui" );
85
+ system (" cp plugin_template/pluginguibase.ui.h $pluginDir /${pluginLCaseName} guibase.ui.h" );
88
86
89
87
# Substitute the plugin specific vars in the various files
90
88
# This is a brute force approach but its quick and dirty :)
You can’t perform that action at this time.
0 commit comments