1
0
Files
linux/debian/rules.d/tools/thermal/tmon/Makefile
2025-07-26 13:24:48 +03:00

17 lines
459 B
Makefile

PROGS = tmon
installdir = /usr/bin
include $(top_rulesdir)/Makefile.inc
# tmon does not support OOT build, so we copy the source before
# building. Use the make -I option to allow it to include other
# Makefiles in the source tree.
# tmon expects us to set INSTALL_ROOT instead of DESTDIR (?!).
real_srcdir := $(srcdir)
srcdir := $(objdir)
MAKE_UPSTREAM += -I $(real_srcdir) INSTALL_ROOT=$(DESTDIR)
$(PROGS):
rsync -a $(real_srcdir)/ .
$(MAKE_UPSTREAM)