Merge branch 'maint'
This commit is contained in:
commit
c149e04ade
|
@ -4,13 +4,23 @@ ifeq ($(MAKELEVEL), 0)
|
||||||
$(error This make needs to be started as a sub-make from the toplevel directory.)
|
$(error This make needs to be started as a sub-make from the toplevel directory.)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LISPV = org-version.el
|
ifneq ($(ORG_ADD_CONTRIB),)
|
||||||
LISPI = org-loaddefs.el
|
_ORG_ADD_EL_ := \
|
||||||
LISPA = $(LISPV) $(LISPI)
|
$(notdir \
|
||||||
LISPB = $(LISPA:%el=%elc) org-install.elc
|
$(wildcard \
|
||||||
LISPF = $(filter-out $(LISPA),$(sort $(wildcard *.el)))
|
$(addsuffix .el, \
|
||||||
LISPC = $(filter-out $(LISPB) $(LISPN:%el=%elc),$(LISPF:%el=%elc))
|
$(addprefix ../contrib/lisp/, \
|
||||||
_ORGCM_ = dirall single source slint1 slint2
|
$(basename \
|
||||||
|
$(notdir $(ORG_ADD_CONTRIB)))))))
|
||||||
|
endif
|
||||||
|
|
||||||
|
LISPV := org-version.el
|
||||||
|
LISPI := org-loaddefs.el
|
||||||
|
LISPA := $(LISPV) $(LISPI)
|
||||||
|
LISPB := $(LISPA:%el=%elc) org-install.elc
|
||||||
|
LISPF := $(filter-out $(LISPA),$(sort $(wildcard *.el) $(_ORG_ADD_EL_)))
|
||||||
|
LISPC := $(filter-out $(LISPB) $(LISPN:%el=%elc),$(LISPF:%el=%elc))
|
||||||
|
_ORGCM_ := dirall single source slint1 slint2
|
||||||
-include local.mk
|
-include local.mk
|
||||||
|
|
||||||
.PHONY: all compile compile-dirty \
|
.PHONY: all compile compile-dirty \
|
||||||
|
@ -51,11 +61,7 @@ slint1:
|
||||||
|
|
||||||
addcontrib:
|
addcontrib:
|
||||||
ifneq ($(ORG_ADD_CONTRIB),)
|
ifneq ($(ORG_ADD_CONTRIB),)
|
||||||
$(CP) $(wildcard \
|
$(CP) $(addprefix ../contrib/lisp/,$(_ORG_ADD_EL_)) .
|
||||||
$(addsuffix .el, \
|
|
||||||
$(addprefix ../contrib/lisp/, \
|
|
||||||
$(basename \
|
|
||||||
$(notdir $(ORG_ADD_CONTRIB)))))) .
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
autoloads: cleanauto addcontrib $(LISPI) $(LISPV)
|
autoloads: cleanauto addcontrib $(LISPI) $(LISPV)
|
||||||
|
@ -70,7 +76,7 @@ $(LISPI): $(LISPV) $(LISPF)
|
||||||
@$(RM) $(@)
|
@$(RM) $(@)
|
||||||
@$(MAKE_ORG_INSTALL)
|
@$(MAKE_ORG_INSTALL)
|
||||||
|
|
||||||
install: $(LISPF) compile
|
install: compile $(LISPF)
|
||||||
if [ ! -d $(DESTDIR)$(lispdir) ] ; then \
|
if [ ! -d $(DESTDIR)$(lispdir) ] ; then \
|
||||||
$(MKDIR) $(DESTDIR)$(lispdir) ; \
|
$(MKDIR) $(DESTDIR)$(lispdir) ; \
|
||||||
fi ;
|
fi ;
|
||||||
|
|
Loading…
Reference in New Issue