From aebe8604605b41803c43c1def87549569b821b27 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 22 Sep 2023 06:50:40 +0000 Subject: Change datadir to sysconfdir, aligning with autoconf Signed-off-by: Laurent Bercot --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 710899a..a08f06a 100644 --- a/Makefile +++ b/Makefile @@ -78,8 +78,8 @@ ifneq ($(strip $(SHARED_LIBS)),) exec $(STRIP) -R .note -R .comment $(SHARED_LIBS) endif -install: install-data install-sysdeps install-dynlib install-lib install-include -install-data: $(ALL_DATA:src/etc/%=$(DESTDIR)$(datadir)/%) +install: install-sysconf install-sysdeps install-dynlib install-lib install-include +install-sysconf: $(ALL_DATA:src/etc/%=$(DESTDIR)$(sysconfdir)/%) install-sysdeps: $(ALL_SYSDEPS:$(sysdeps)/%=$(DESTDIR)$(sysdepdir)/%) install-dynlib: $(SHARED_LIBS:lib%.so.xyzzy=$(DESTDIR)$(dynlibdir)/lib%.so) install-lib: $(STATIC_LIBS:lib%.a.xyzzy=$(DESTDIR)$(libdir)/lib%.a) @@ -101,7 +101,7 @@ $(DESTDIR)$(sproot)/library.so/lib%.so.$(version_M): $(DESTDIR)$(dynlibdir)/lib% endif -$(DESTDIR)$(datadir)/%: src/etc/% +$(DESTDIR)$(sysconfdir)/%: src/etc/% exec $(INSTALL) -D -m 644 $< $@ $(DESTDIR)$(sysdepdir)/%: $(sysdeps)/% -- cgit v1.2.3