Use GNUmakefile from build-aux/.
authorSimon Josefsson <simon@josefsson.org>
Thu, 1 Mar 2007 13:26:32 +0000 (14:26 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 1 Mar 2007 13:26:32 +0000 (14:26 +0100)
GNUmakefile

index da9170b..1fd5a4c 100644 (file)
@@ -1,2 +1,8 @@
-include build-aux/GNUmakefile
-include $(srcdir)/maint-cfg.mk
+have-gnulib-files := $(shell test -f gnulib.mk && test -f maint.mk && echo yes)
+ifneq ($(have-gnulib-files),yes)
+gnulib.mk:
+       ln -s build-aux/GNUmakefile gnulib.mk
+       ln -s build-aux/maint.mk maint.mk
+endif
+
+include gnulib.mk