]> rtime.felk.cvut.cz Git - omk.git/commitdiff
default-config warning is now not displayed when the default-config is being made.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 30 Jun 2006 09:24:00 +0000 (09:24 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 30 Jun 2006 09:24:00 +0000 (09:24 +0000)
darcs-hash:20060630092408-f2ef6-79df6ed3620d06a942429b3e167cb16263403738.gz

snippets/base

index 9c05c9d2816af50aeeced2a5ec59672d5110bcd5..1c75390f934137a3a9d6176286b8e14352081d46 100644 (file)
@@ -28,8 +28,10 @@ endif
 ifneq ($(wildcard $(CONFIG_FILE)-default),)
 -include $(CONFIG_FILE)-default
 else
+ifneq ($(MAKECMDGOALS),default-config)
 $(warning Please, run "make default-config" first)
 endif
+endif
 
 ifneq ($(wildcard $(CONFIG_FILE)),)
 include $(CONFIG_FILE)