emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests 27001fd 271/316: Accept the make


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests 27001fd 271/316: Accept the make-tipe argument to control tests
Date: Sat, 28 Jan 2017 09:10:10 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit 27001fd06751d4516e146d71a47ef5626ce2b43f
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>

    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 9c2d8fc..1099cc5 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 <address@hidden>
-;; 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")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]