add lisp packages

This commit is contained in:
2020-12-05 21:29:49 +01:00
parent 85e20365ae
commit a6e2395755
7272 changed files with 1363243 additions and 0 deletions

31
lisp/org/etc/Makefile Normal file
View File

@@ -0,0 +1,31 @@
ETCDIRS = styles schema
-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 ;