From 2e0320886086110f0629ca0f63132d701f6ca927 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 18 Nov 2004 23:32:24 +0100
Subject: [PATCH] * Makefile.in (clean-here): The clean target should not
 delete the dependency files. Moved to the distclean target. *
 examples/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. *
 tools/Makefile.in: Likewise.

Rev: src/nettle/ChangeLog:1.305
Rev: src/nettle/Makefile.in:1.13
Rev: src/nettle/examples/Makefile.in:1.8
Rev: src/nettle/testsuite/Makefile.in:1.8
Rev: src/nettle/tools/Makefile.in:1.9
---
 ChangeLog             | 6 ++++++
 Makefile.in           | 4 ++--
 examples/Makefile.in  | 4 ++--
 testsuite/Makefile.in | 4 ++--
 tools/Makefile.in     | 4 ++--
 5 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 77be5764..9f67fcb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2004-11-18  Niels M�ller  <nisse@lysator.liu.se>
 
+	* Makefile.in (clean-here): The clean target should not delete the
+	dependency files. Moved to the distclean target.
+	* examples/Makefile.in: Likewise.
+	* testsuite/Makefile.in: Likewise.
+	* tools/Makefile.in: Likewise.
+	
 	* configure.ac (ASM_SYMBOL_PREFIX): Fixed test.
 	(dummy-dep-files): Added quotes to sed command.
 
diff --git a/Makefile.in b/Makefile.in
index 2249158d..601b7ba7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -320,11 +320,11 @@ distcheck: dist
 	$(rm_distcheck)
 
 clean-here:
-	-rm -f $(TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.d *.s
+	-rm -f $(TARGETS) *.$(OBJEXT) *.p$(OBJEXT) *.s
 
 distclean-here: clean-here
 	-rm -f config.h stamp-h config.log config.status \
-	config.make config.m4 Makefile nettle-types.h
+	config.make config.m4 Makefile nettle-types.h *.d
 
 DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) $(SOURCES:.c=.p$(OBJEXT).d)
 include $(DEP_FILES)
diff --git a/examples/Makefile.in b/examples/Makefile.in
index 79315d67..0fae6c6d 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -48,9 +48,9 @@ distdir: $(DISTFILES)
 	cp $^ $(distdir)
 
 clean:
-	-rm -f $(TARGETS) *.o *.d
+	-rm -f $(TARGETS) *.o
 
 distclean: clean
-	-rm -f Makefile
+	-rm -f Makefile *.d
 
 include $(SOURCES:.c=.$(OBJEXT).d)
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index 53afe8ca..5dc20d62 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -61,9 +61,9 @@ distdir: $(DISTFILES)
 	cp $^ $(distdir)
 
 clean:
-	-rm -f $(TARGETS) *.o *.d test.in test1.out test2.out
+	-rm -f $(TARGETS) *.o test.in test1.out test2.out
 
 distclean: clean
-	-rm -f Makefile
+	-rm -f Makefile *.d
 
 include $(SOURCES:.c=.$(OBJEXT).d)
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 8c2de7f8..de25ba83 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -50,9 +50,9 @@ distdir: $(DISTFILES)
 	cp $^ $(distdir)
 
 clean:
-	-rm -f $(TARGETS) *.o *.d
+	-rm -f $(TARGETS) *.o
 
 distclean: clean
-	-rm -f Makefile
+	-rm -f Makefile *.d
 
 include $(SOURCES:.c=.$(OBJEXT).d)
-- 
GitLab