jw-pkg/make/topdir.mk
Jan Lindemann 6644ec28e4 topdir.mk: Fix build breakage
Remove rpmdist.mk and reshuffle include defs.mk inclusion to get it
to build again.
2007-08-16 22:11:17 +00:00

37 lines
592 B
Makefile

SUBDIRS ?= make
all:
install:
clean: topdir.clean
distclean: topdir.distclean
config:
ifneq ($(wildcard $(TOPDIR)/make/defs.mk),)
include $(MODDIR)/make/defs.mk
include $(MODDIR)/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 (\
cd `dirname $$f` ;\
rm -f local.mk ;\
ln -s `basename $$f` local.mk ;\
) done
unlocal:
rm -f $(shell find . -name local.mk)
topdir.distclean:
rm -f $(DISTCLEAN)
topdir.clean:
rm -f $(CLEAN)