mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 13:03:58 +01:00
topdir*.mk: autoconf stuff topdir.mk -> topdir-autoconf.mk
Source out autoconf conditionals from topdir.mk into topdir-autoconf.mk.
This commit is contained in:
parent
fbff621174
commit
bd079bf1d3
3 changed files with 12 additions and 19 deletions
9
make/topdir-autoconf.mk
Normal file
9
make/topdir-autoconf.mk
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
ifeq ($(wildcard $(TOPDIR)/make/defs.mk),)
|
||||
ifneq ($(wildcard $(TOPDIR)/make/defs.mk.in),)
|
||||
include $(MODDIR)/make/autoconf.mk
|
||||
else
|
||||
include $(MODDIR)/make/topdir.mk
|
||||
endif
|
||||
else
|
||||
include $(MODDIR)/make/topdir.mk
|
||||
endif
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
SUBDIRS ?= make
|
||||
|
||||
all: config
|
||||
install: topdir.install
|
||||
clean: topdir.clean
|
||||
|
|
@ -7,28 +5,14 @@ distclean: topdir.distclean
|
|||
config:
|
||||
|
||||
ifneq ($(wildcard $(TOPDIR)/make/defs.mk),)
|
||||
include $(TOPDIR)/make/defs.mk
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
else
|
||||
|
||||
ifeq ($(wildcard $(TOPDIR)/make/defs.mk.in),)
|
||||
include $(MODDIR)/make/rpmdist.mk
|
||||
include $(MODDIR)/make/subdirs.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
include $(MODDIR)/make/doc-rules.mk
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard $(TOPDIR)/make/defs.mk.in),)
|
||||
include $(MODDIR)/make/autoconf.mk
|
||||
endif
|
||||
|
||||
INSTALLED_TOPDIR_FILES = $(addprefix $(INSTALL_DOCDIR)/, $(DOCS))
|
||||
|
||||
local-%:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue