projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added message for folks who might try to 'make' without 'configure'ing (me,
[freeradius.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
3fa7d80
..
c8aa7a5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-64,6
+64,12
@@
distclean: clean
-find src/modules -name config.h | \
while read file; do rm -f $$file; done
-find src/modules -name config.h | \
while read file; do rm -f $$file; done
+ifndef prefix # catch runs without configuring, and give helpful advice.
+Make.inc:
+ @echo " Sorry! You must run 'configure', before 'make'.";
+ @false
+endif
+
######################################################################
#
# Automatic remaking rules suggested by info:autoconf#Automatic_Remaking
######################################################################
#
# Automatic remaking rules suggested by info:autoconf#Automatic_Remaking