0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-01 03:18:54 +01:00
construct/share/Makefile.am

28 lines
581 B
Makefile
Raw Normal View History

################################################################################
#
# IRCd read-only data (share) assets.
#
datadir = @datadir@
install-mkdirs:
-@if test ! -d $(DESTDIR)$(datadir); then \
echo "mkdir -p $(DESTDIR)$(datadir)"; \
mkdir -p $(DESTDIR)$(datadir); \
fi
install: install-mkdirs
@echo "ircd: installing shared assets"
@for i in $(srcdir)/*; do \
2022-07-25 22:39:27 +02:00
case "$$i" in \
"./Makefile"*) \
;; \
"README.md") \
;; \
*) \
echo "installing $$i to $(DESTDIR)$(datadir)"; \
cp -u -r $$i $(DESTDIR)$(datadir); \
;; \
esac \
done