From 84610779b4249b0ce556e1326459ed02f02de68a Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 24 Aug 2008 14:48:34 +0000 Subject: * etc/Makefile.in: Tidy databases construction rule. --- src/ChangeLog | 4 ++++ src/etc/Makefile.in | 14 ++++++++++---- 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,3 +1,7 @@ +2008-08-24 Gabriel Dos Reis + + * etc/Makefile.in: Tidy databases construction rule. + 2008-08-24 Gabriel Dos Reis * algebra/data.spad.pamphlet (DataBuffer): New. 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 -- cgit v1.2.3