From 193f4af0a269e627b6a6a45a71ba57e7a5525e73 Mon Sep 17 00:00:00 2001 From: Ales Hvezda Date: Fri, 7 Aug 2009 20:47:13 -0400 Subject: [PATCH] Cleaned up the gnetlistrc after make check completes Also made sure that any randomly hanging around gnetlistrc is cleaned up when the various make clean commands are executed. --- gnetlist/tests/drc2/Makefile.am | 8 ++++---- gnetlist/tests/hierarchy/Makefile.am | 10 ++++++---- gnetlist/tests/hierarchy2/Makefile.am | 5 +++-- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/gnetlist/tests/drc2/Makefile.am b/gnetlist/tests/drc2/Makefile.am index 52da26f92..695ed8963 100644 --- a/gnetlist/tests/drc2/Makefile.am +++ b/gnetlist/tests/drc2/Makefile.am @@ -80,11 +80,11 @@ tests: cat $(BUILDDIR)/failed.log ; \ exit 1 ; \ fi + rm -f $(BUILDDIR)/gnetlistrc MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc CLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc -DISTCLEANFILES = *.log core FILE *~ prototype.bak -MAINTAINERCLEANFILES = new_* core *.log FILE *.ps *~ Makefile.in configure - - +DISTCLEANFILES = *.log core FILE *~ prototype.bak gnetlistrc +MAINTAINERCLEANFILES = new_* core *.log FILE *.ps *~ Makefile.in configure \ + gnetlistrc diff --git a/gnetlist/tests/hierarchy/Makefile.am b/gnetlist/tests/hierarchy/Makefile.am index f2b05f340..813eef1b5 100644 --- a/gnetlist/tests/hierarchy/Makefile.am +++ b/gnetlist/tests/hierarchy/Makefile.am @@ -22,8 +22,10 @@ tests: SYMDIR=$(top_srcdir)/symbols \ $(GNETLIST) -o $(BUILDDIR)/new_hierarchy.geda -g geda $(SRCDIR)/top.sch ) diff $(SRCDIR)/hierarchy.geda $(BUILDDIR)/new_hierarchy.geda; + rm -f $(BUILDDIR)/gnetlistrc -MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~ -CLEANFILES = new_* core *.log FILE *.ps *~ -DISTCLEANFILES = *.log core FILE *~ prototype.bak gnetlistrc gafrc -MAINTAINERCLEANFILES = new_* core *.log FILE *.ps *~ Makefile.in configure +MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc +CLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc +DISTCLEANFILES = *.log core FILE *~ prototype.bak gnetlistrc +MAINTAINERCLEANFILES = new_* core *.log FILE *.ps *~ Makefile.in configure \ + gnetlistrc diff --git a/gnetlist/tests/hierarchy2/Makefile.am b/gnetlist/tests/hierarchy2/Makefile.am index 7a4a34b9e..b61916424 100644 --- a/gnetlist/tests/hierarchy2/Makefile.am +++ b/gnetlist/tests/hierarchy2/Makefile.am @@ -21,9 +21,10 @@ tests: -o $(BUILDDIR)/new_hierarchy2.geda -g geda \ $(SRCDIR)/top.sch ) diff $(SRCDIR)/hierarchy2.geda $(BUILDDIR)/new_hierarchy2.geda; + rm -f $(BUILDDIR)/gnetlistrc -MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~ -CLEANFILES = new_* core *.log FILE *.ps *~ +MOSTLYCLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc +CLEANFILES = new_* core *.log FILE *.ps *~ gnetlistrc DISTCLEANFILES = *.log core FILE *~ prototype.bak gnetlistrc MAINTAINERCLEANFILES = new_* core *.log FILE *.ps *~ Makefile.in configure -- 2.11.4.GIT