From 27001fd06751d4516e146d71a47ef5626ce2b43f Mon Sep 17 00:00:00 2001 From: zappo Date: Sat, 8 Aug 2009 21:52:08 +0000 Subject: [PATCH] Accept the make-tipe argument to control tests * test/manual/cedet/cit-el.el (cit-srecode-fill-el): Accept make-type argument. Don't do autoloads with automake. --- test/manual/cedet/cit-el.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/manual/cedet/cit-el.el b/test/manual/cedet/cit-el.el index 9c2d8fc40a0..1099cc5466e 100644 --- a/test/manual/cedet/cit-el.el +++ b/test/manual/cedet/cit-el.el @@ -1,9 +1,9 @@ ;;; cit-el.el --- Elisp code generation for integration tests -;; Copyright (C) 2008 Eric M. Ludlam +;; Copyright (C) 2008, 2009 Eric M. Ludlam ;; Author: Eric M. Ludlam -;; X-RCS: $Id: cit-el.el,v 1.1 2008-02-24 02:58:10 zappo Exp $ +;; X-RCS: $Id: cit-el.el,v 1.2 2009-08-08 21:52:08 zappo Exp $ ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -80,8 +80,9 @@ ) "Tags to be inserted into a header file.") -(defun cit-srecode-fill-el () - "Fill up a base set of files with some base tags." +(defun cit-srecode-fill-el (make-type) + "Fill up a base set of files with some base tags. +MAKE-TYPE indicates the makefile type being used." ;;(interactive) ;; 2 b) Test various templates. @@ -91,7 +92,8 @@ ;; Making the autoloads first should PREPEND, but Lisp should append. ;; going in this order makes sure that happens. - (ede-new-target "Auto" "emacs lisp autoloads" "n") + (when (string= make-type "Make") + (ede-new-target "Auto" "emacs lisp autoloads" "n")) (ede-new-target "Lisp" "emacs lisp" "n") (ede-add-file "Lisp") -- 2.39.5