Skip to content

Commit

Permalink
fix Makefile for coreutils >= 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kfb77 committed Jan 30, 2024
1 parent 7f2f23e commit ae4fe22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ install-$(PLUGIN4): libvdr-$(PLUGIN4).so

install-conf:
mkdir -p $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN)/conf.d
cp -n conf/* $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN)
@for i in conf/*; do\
if ! [ -e $(DESTDIR)$(CONFDIR)/plugins/$$i ] ; then\
cp -p $$i $(DESTDIR)$(CONFDIR)/plugins/$(PLUGIN);\
fi\
done

install-doc: docs
mkdir -p $(DESTDIR)$(MANDIR)/man1
Expand Down

0 comments on commit ae4fe22

Please sign in to comment.