1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-13 09:32:19 +00:00
org-mode/etc/Makefile
Nicolas Goaziou 971c1359a5 oc-csl: Implement `csl' citation processor
* etc/csl/chicago-author-date.csl:
* etc/csl/locales-en-US.xml:
* lisp/oc-csl.el (csl): New files.
* etc/Makefile (ETCDIRS): Register new files.
2021-07-09 08:47:14 +02:00

32 lines
737 B
Makefile

ETCDIRS = styles schema csl
-include local.mk # optional local customization
.NOTPARALLEL: # always run this make serially
.SUFFIXES: # we don't need default suffix rules
ifeq ($(MAKELEVEL), 0)
$(error This make needs to be started as a sub-make from the toplevel directory.)
endif
.PHONY: all install clean cleanall clean-install
all:
install: $(ETCDIRS)
for dir in $? ; do \
if [ ! -d $(DESTDIR)$(datadir)/$${dir} ] ; then \
$(MKDIR) $(DESTDIR)$(datadir)/$${dir} ; \
fi ; \
$(CP) $${dir}/* $(DESTDIR)$(datadir)/$${dir} ; \
done ;
clean:
cleanall:
clean-install: $(ETCDIRS)
for dir in $? ; do \
if [ -d $(DESTDIR)$(datadir)/$${dir} ] ; then \
$(RMR) $(DESTDIR)$(datadir)/$${dir} ; \
fi ; \
done ;