Replace obsolete variable `buffer-substring-filters'.
[org-mode.git] / etc / Makefile
blob8b0615851018eedf1860e4b21bf41e058767b745
1 ETCDIRS = styles schema
2 -include local.mk # optional local customization
4 .NOTPARALLEL: # always run this make serially
5 .SUFFIXES: # we don't need default suffix rules
6 ifeq ($(MAKELEVEL), 0)
7 $(error This make needs to be started as a sub-make from the toplevel directory.)
8 endif
10 .PHONY: all install clean cleanall clean-install
12 all:
14 install: $(ETCDIRS)
15 for dir in $? ; do \
16 if [ ! -d $(DESTDIR)$(datadir)/$${dir} ] ; then \
17 $(MKDIR) $(DESTDIR)$(datadir)/$${dir} ; \
18 fi ; \
19 $(CP) $${dir}/* $(DESTDIR)$(datadir)/$${dir} ; \
20 done ;
22 clean:
24 cleanall:
26 clean-install: $(ETCDIRS)
27 for dir in $? ; do \
28 if [ -d $(DESTDIR)$(datadir)/$${dir} ] ; then \
29 $(RMR) $(DESTDIR)$(datadir)/$${dir} ; \
30 fi ; \
31 done ;