summaryrefslogtreecommitdiffstats
path: root/build-root/emacs-lisp/plugin.el
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/emacs-lisp/plugin.el')
-rw-r--r--build-root/emacs-lisp/plugin.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/build-root/emacs-lisp/plugin.el b/build-root/emacs-lisp/plugin.el
index 006ae54dc11..4f1361a32f2 100644
--- a/build-root/emacs-lisp/plugin.el
+++ b/build-root/emacs-lisp/plugin.el
@@ -8,15 +8,12 @@
(makunbound 'PLUGIN-NAME)
(setq plugin-name (read-string "Plugin name: "))
(setq PLUGIN-NAME (upcase plugin-name))
- (setq cmd-args (concat "mkdir -p " plugin-name "-plugin/" plugin-name))
+ (find-file (concat plugin-name ".am"))
+ (skel-plugin-makefile-am-fragment)
+ (setq cmd-args (concat "mkdir -p " plugin-name))
(shell-command cmd-args)
- (setq cd-args (concat start-dir plugin-name "-plugin"))
+ (setq cd-args (concat start-dir "/" plugin-name))
(setq default-directory cd-args)
- (find-file "Makefile.am")
- (skel-plugin-makefile)
- (find-file "configure.ac")
- (skel-plugin-configure)
- (setq default-directory (concat cd-args "/" plugin-name))
(find-file (concat plugin-name ".api"))
(skel-plugin-api)
(find-file (concat plugin-name "_all_api_h.h"))