summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 213c925963..d777bc5224 100644
--- a/Makefile
+++ b/Makefile
@@ -290,6 +290,15 @@ depend:
$(CC) -MM $(CFLAGS) mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
@for a in $(PARTS); do $(MAKE) -C $$a dep; done
+# ./configure must be run if it changed in CVS
+config.h: configure
+ @echo "############################################################"
+ @echo "####### Please run ./configure again - it's changed! #######"
+ @echo "############################################################"
+ifeq ($(wildcard .developer),)
+ @exit 1
+endif
+
# do not rebuild after cvs commits if .developer file is present!
# rebuild at every config.h/config.mak change: