summaryrefslogtreecommitdiff
path: root/elpa/org-9.5.2/etc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'elpa/org-9.5.2/etc/Makefile')
-rw-r--r--elpa/org-9.5.2/etc/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/elpa/org-9.5.2/etc/Makefile b/elpa/org-9.5.2/etc/Makefile
new file mode 100644
index 0000000..ab5c988
--- /dev/null
+++ b/elpa/org-9.5.2/etc/Makefile
@@ -0,0 +1,31 @@
+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 ;