summaryrefslogtreecommitdiff
path: root/elpa/org-9.5.2/etc/Makefile
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-05-11 09:23:58 -0400
committermattkae <mattkae@protonmail.com>2022-05-11 09:23:58 -0400
commit3f4a0d5370ae6c34afe180df96add3b8522f4af1 (patch)
treeae901409e02bde8ee278475f8cf6818f8f680a60 /elpa/org-9.5.2/etc/Makefile
initial commit
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 ;