aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/etc/Makefile.in14
2 files changed, 14 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4ba0f1b3..2485b661 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2008-08-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
+ * etc/Makefile.in: Tidy databases construction rule.
+
+2008-08-24 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
* algebra/data.spad.pamphlet (DataBuffer): New.
2008-08-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
diff --git a/src/etc/Makefile.in b/src/etc/Makefile.in
index 876618a3..f34168cc 100644
--- a/src/etc/Makefile.in
+++ b/src/etc/Makefile.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2007, Gabriel Dos Reis.
+# Copyright (C) 2007-2008, Gabriel Dos Reis.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -50,17 +50,23 @@ all: all-ax
all-ax all-asq: stamp
@echo finished $(builddir)
-stamp: $(openaxiom_databases) $(axiom_target_bindir)/asq$(EXEEXT) \
+stamp: stamp-databases $(axiom_target_bindir)/asq$(EXEEXT) \
$(axiom_target_libdir)/summary \
$(axiom_target_libdir)/copyright
rm -f stamp
$(STAMP) stamp
-$(openaxiom_databases): ../algebra/*.NRLIB/code.$(FASLEXT)
+stamp-databases: ../algebra/*.NRLIB/code.$(FASLEXT)
@ echo rebuilding databases...
+ rm -f stamp-databases
+ rm -f ../algebra/topics.data
+ rm -f $(axiom_targetdir)/*.daase
+ rm -f $(axiom_targetdir)/libdb.text
+ rm -f $(axiom_targetdir)/comdb.text
+ rm -rf $(axiom_targetdir)/algebra/USERS.DAASE
+ rm -rf $(axiom_targetdir)/algebra/DEPENDENTS.DAASE
cp $(axiom_src_docdir)/topics.data ../algebra
(cd ../algebra && $(INTERPSYS) --build-databases)
- mkdir -p $(axiom_targetdir)/algebra
cp -p ../algebra/*.daase $(axiom_targetdir)/algebra
cp -p ../algebra/libdb.text $(axiom_targetdir)/algebra
cp -p ../algebra/comdb.text $(axiom_targetdir)/algebra