jw-pkg/make/topdir.mk
Jan Lindemann 6894abe462 topdir.mk: Include rules.mk and doc-rules.mk
- Add include rules.mk
  - Add include doc-rules.mk
2007-08-17 15:28:27 +00:00

39 lines
660 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
include $(MODDIR)/make/rules.mk
include $(MODDIR)/make/doc-rules.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)