r9117: Automated commit for Debian build of clsql upstream-version-2.9.1
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 21 Apr 2004 03:31:27 +0000 (03:31 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 21 Apr 2004 03:31:27 +0000 (03:31 +0000)
clsql-mysql.asd
clsql-uffi.asd

index 7c77bab35f076f71dcd43646afa3c44cfb5575fa..a229791304ebf382461acd183d63eb61b37844db 100644 (file)
        t)) 
 
 (defmethod perform ((o compile-op) (c clsql-mysql-source-file))
        t)) 
 
 (defmethod perform ((o compile-op) (c clsql-mysql-source-file))
-  #-(or win32 mswindows)
-  (unless (zerop (run-shell-command
-                 #-freebsd "cd ~A; make"
-                 #+freebsd "cd ~A; gmake"
-                 (namestring (make-pathname :name nil
-                                            :type nil
-                                            :directory *library-file-dir*))))
-    (error 'operation-error :component c :operation o)))
+  (unless (operation-done-p o c)
+    #-(or win32 mswindows)
+    (unless (zerop (run-shell-command
+                   #-freebsd "cd ~A; make"
+                   #+freebsd "cd ~A; gmake"
+                   (namestring (make-pathname :name nil
+                                              :type nil
+                                              :directory *library-file-dir*))))
+      (error 'operation-error :component c :operation o))))
 
 (defmethod operation-done-p ((o compile-op) (c clsql-mysql-source-file))
   (or (and (probe-file #p"/usr/lib/clsql/mysql.so") t)
 
 (defmethod operation-done-p ((o compile-op) (c clsql-mysql-source-file))
   (or (and (probe-file #p"/usr/lib/clsql/mysql.so") t)
index fb22dc102d996c749875bb1672f33df1a149bc2a..18fcf002e3d1228527541c1f9f9a02bf6316442c 100644 (file)
        t))
 
 (defmethod perform ((o compile-op) (c clsql-uffi-source-file))
        t))
 
 (defmethod perform ((o compile-op) (c clsql-uffi-source-file))
-  #-(or win32 mswindows)
-  (unless (zerop (run-shell-command
-                 #-freebsd "cd ~A; make"
-                 #+freebsd "cd ~A; gmake"
-                 (namestring (make-pathname :name nil
-                                            :type nil
-                                            :directory *library-file-dir*))))
-    (error 'operation-error :component c :operation o)))
+  (unless (operation-done-p o c)
+    #-(or win32 mswindows)
+    (unless (zerop (run-shell-command
+                   #-freebsd "cd ~A; make"
+                   #+freebsd "cd ~A; gmake"
+                   (namestring (make-pathname :name nil
+                                              :type nil
+                                              :directory *library-file-dir*))))
+      (error 'operation-error :component c :operation o))))
 
 (defmethod operation-done-p ((o compile-op) (c clsql-uffi-source-file))
   (or (and (probe-file #p"/usr/lib/clsql/uffi.so") t)
 
 (defmethod operation-done-p ((o compile-op) (c clsql-uffi-source-file))
   (or (and (probe-file #p"/usr/lib/clsql/uffi.so") t)