mcst-linux-kernel/patches-2024.06.26/mtools-3.9.10/0000-init.add.patch

32 lines
897 B
Diff

diff -ruaN mtools-3.9.10/Makefile.in my_mtools-3.9.10/Makefile.in
--- mtools-3.9.10/Makefile.in 2004-02-28 22:06:35.000000000 +0300
+++ my_mtools-3.9.10/Makefile.in 2024-04-19 20:30:24.637336139 +0300
@@ -26,12 +26,12 @@
srcdir=@srcdir@
VPATH=@srcdir@
-prefix = @prefix@
+prefix = $(DESTDIR)@prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
-infodir = @infodir@
-mandir = @mandir@
-sysconfdir = @sysconfdir@
+infodir = $(DESTDIR)@infodir@
+mandir = $(DESTDIR)@mandir@
+sysconfdir = $(DESTDIR)@sysconfdir@
CC = @CC@
CXX = @CXX@
@@ -244,8 +244,8 @@
$(top_srcdir)/mkinstalldirs $(bindir)
$(INSTALL_PROGRAM) mkmanifest $(bindir)/mkmanifest
-#$(ETCDIR)/mtools: mtools.etc
-# cp mtools.etc $(ETCDIR)/mtools
+$(ETCDIR)/mtools: mtools.etc
+ cp mtools.etc $(ETCDIR)/mtools
install-links: $(bindir)/mtools
@for j in $(LINKS); do \