Commit acbb6a531e5c5886bb49db779adb59dc2acac177

brlcad 2008-05-04T04:35:41

print an informative summary

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/Makefile.am b/Makefile.am
index 5b43729..695f1f2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,4 +23,14 @@ EXTRA_DIST = \
 	ftgl.pc.in \
 	$(NULL)
 
+# Print out an informative summary.
+all-local:
+	@$(ECHO) "Done."
+	@$(ECHO)
+	@if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \
+	  $(ECHO) "---" ;\
+	  $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\
+	fi
+	@$(ECHO)
+
 NULL =