2011-07-17 08:49:43 -04:00
|
|
|
.PHONY: default all up2 update compile lisp doc \
|
2011-07-12 16:31:41 -04:00
|
|
|
install info html pdf card doc install-lisp install-info \
|
|
|
|
autoloads cleanall clean cleancontrib cleanelc cleandoc cleanrel
|
|
|
|
.NOTPARALLEL: .PHONY
|
2011-07-12 13:45:59 -04:00
|
|
|
# Additional distribution files
|
|
|
|
DISTFILES_extra= Makefile request-assign-future.txt contrib etc
|
2011-07-16 16:49:24 -04:00
|
|
|
.EXPORT_ALL_VARIABLES:
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
LISPDIRS = lisp #contrib
|
|
|
|
SUBDIRS = doc $(LISPDIRS) #contrib
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
compile: lisp
|
|
|
|
$(MAKE) -C $< $@
|
|
|
|
|
2011-07-18 11:55:23 -04:00
|
|
|
all \
|
|
|
|
clean-install: $(SUBDIRS)
|
2011-07-17 08:49:43 -04:00
|
|
|
$(foreach dir, $?, $(MAKE) -C $(dir) $@;)
|
2011-07-12 13:45:59 -04:00
|
|
|
|
|
|
|
up2: update
|
|
|
|
sudo ${MAKE} install
|
|
|
|
|
|
|
|
update:
|
|
|
|
git pull
|
|
|
|
${MAKE} clean
|
|
|
|
${MAKE} all
|
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
install: install-lisp install-info
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
docs: info html pdf card
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
info html pdf card:
|
|
|
|
$(MAKE) -C doc $@
|
2011-07-12 16:31:41 -04:00
|
|
|
|
2011-07-16 16:49:24 -04:00
|
|
|
install-lisp:
|
|
|
|
$(MAKE) -C lisp install
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
install-info:
|
|
|
|
$(MAKE) -C doc install
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-16 16:49:24 -04:00
|
|
|
autoloads: lisp maint.mk
|
2011-07-17 08:49:43 -04:00
|
|
|
$(MAKE) -C $< $@
|
2011-07-12 13:45:59 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
cleanall: $(SUBDIRS)
|
|
|
|
$(foreach dir, $?, $(MAKE) -C $(dir) $@;)
|
|
|
|
-$(FIND) . -name \*~ -exec $(RM) {} \;
|
2011-07-12 16:31:41 -04:00
|
|
|
|
2011-07-17 08:49:43 -04:00
|
|
|
clean: cleanrel
|
2011-07-16 16:49:24 -04:00
|
|
|
$(MAKE) -C lisp clean
|
2011-07-17 08:49:43 -04:00
|
|
|
$(MAKE) -C doc clean
|
2011-07-12 16:31:41 -04:00
|
|
|
-$(FIND) . -name \*~ -exec $(RM) {} \;
|
|
|
|
|
|
|
|
cleancontrib:
|
|
|
|
-$(FIND) contrib -name \*~ -exec $(RM) {} \;
|
|
|
|
|
|
|
|
cleanrel:
|
2011-07-17 08:49:43 -04:00
|
|
|
$(RMR) RELEASEDIR
|
|
|
|
$(RMR) org-7.*
|
|
|
|
$(RMR) org-7*zip org-7*tar.gz
|