Browse Source

Few more fixes
Author: jgg
Date: 1998-11-05 00:17:10 GMT
Few more fixes

Arch Librarian 22 years ago
parent
commit
2c618e31b9
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Makefile

+ 2 - 3
Makefile

@@ -33,11 +33,10 @@ configure: aclocal.m4 configure.in
 aclocal.m4:
 aclocal.m4:
 	aclocal -I buildlib
 	aclocal -I buildlib
 
 
-build:
-	mkdir $(BUILD)
 $(BUILD)/config.status: configure
 $(BUILD)/config.status: configure
+	test -e $(BUILD) || mkdir $(BUILD)	
 	(HERE=`pwd`; cd $(BUILD) && $$HERE/configure)
 	(HERE=`pwd`; cd $(BUILD) && $$HERE/configure)
 $(BUILD)/include/config.h: buildlib/config.h.in
 $(BUILD)/include/config.h: buildlib/config.h.in
 $(BUILD)/environment.mak: buildlib/environment.mak.in
 $(BUILD)/environment.mak: buildlib/environment.mak.in
-$(CONVERTED):
+$(CONVERTED): $(BUILD)/config.status
 	(cd $(BUILD) && ./config.status)
 	(cd $(BUILD) && ./config.status)