Skip to content

Commit

Permalink
Merge pull request #741 from SunRed/libexecdir
Browse files Browse the repository at this point in the history
Makefile: Add support for installation to custom $LIBEXECDIR
  • Loading branch information
yarda authored Feb 2, 2025
2 parents a96d7d9 + 410344b commit c624ba6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export PREFIX = /usr
export BINDIR = $(PREFIX)/bin
export SBINDIR = $(PREFIX)/sbin
export SYSCONFDIR = /etc
export LIBEXECDIR = $(PREFIX)/libexec
export DATADIR = $(PREFIX)/share
export DOCDIR = $(DATADIR)/doc/$(NAME)
export PYTHON = $(BINDIR)/python3
Expand Down Expand Up @@ -236,7 +237,7 @@ install: install-dirs
# libexec scripts
$(foreach file, $(wildcard libexec/*), \
$(call install_python_script, \
$(file), $(DESTDIR)$(PREFIX)/libexec/tuned/$(notdir $(file))))
$(file), $(DESTDIR)$(LIBEXECDIR)/tuned/$(notdir $(file))))

# icon
install -Dpm 0644 icons/tuned.svg $(DESTDIR)$(DATADIR)/icons/hicolor/scalable/apps/tuned.svg
Expand Down

0 comments on commit c624ba6

Please sign in to comment.