diff --git a/make/topdir.mk b/make/topdir.mk index c4789571..df602964 100644 --- a/make/topdir.mk +++ b/make/topdir.mk @@ -10,9 +10,14 @@ ifneq ($(wildcard $(TOPDIR)/make/defs.mk),) include $(MODDIR)/make/defs.mk include $(MODDIR)/make/rpmdist.mk --include $(TOPDIR)/make/rpmdist.mk include $(MODDIR)/make/subdirs.mk +endif + +ifneq ($(wildcard $(TOPDIR)/make/defs.mk.in),) +include $(MODDIR)/make/autoconf.mk +endif + local-%: find . -name $@.mk | \ while read f; do (\ @@ -30,10 +35,3 @@ topdir.distclean: topdir.clean: rm -f $(CLEAN) -endif - -ifneq ($(wildcard $(TOPDIR)/make/defs.mk.in),) - include $(MODDIR)/make/autoconf.mk -endif - -