From 050b0c384125be3abbd6b691a7fdeaa983b58d20 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 20 Apr 2009 12:00:51 +0200
Subject: [PATCH] Fix the makefile clean rule

Use the $HPROGS variable instead of hardcoding the program names.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4aa49643a..11b44bfe5 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ doc: $(DOCS)
 		$(HSRCS)
 
 clean:
-	rm -f hbal hn1
+	rm -f $(HPROGS)
 	rm -f *.o *.prof *.ps *.stat *.aux *.hi
 	cd Ganeti/HTools && rm -f *.o *.prof *.ps *.stat *.aux *.hi
 	rm -f $(DOCS) TAGS Ganeti/HTools/Version.hs
-- 
GitLab