]> granicus.if.org Git - neomutt/commitdiff
Install stuff to $(PACKAGE) in $(libexecdir), not $(libdir)
authorJulian Andres Klode <jak@jak-linux.org>
Sun, 26 Nov 2017 11:30:48 +0000 (12:30 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 7 Dec 2017 16:35:32 +0000 (16:35 +0000)
This does not really make a huge difference, probably, but it
is infinitely more correct.

Makefile.autosetup

index 984e15066b341b4b110f699b85756b2983c0c896..f53bfe7eb45bff79b38a0bb077da97d97b92d0f8 100644 (file)
@@ -38,6 +38,7 @@ datadir=      @PKGDATADIR@
 docdir=                @PKGDOCDIR@
 mandir=                @mandir@
 libdir=                @libdir@
+libexecdir=            @libexecdir@
 sysconfdir=    @SYSCONFDIR@
 
 # targets for specific subdirectories
@@ -291,9 +292,9 @@ install: all $(INSTALL_TARGETS)
        for f in $(BINFILES); do \
                $(INSTALL) $$f $(DESTDIR)$(bindir)/`basename $$f`; \
        done
-       $(MKDIR_P) $(DESTDIR)$(libdir)/$(PACKAGE)
+       $(MKDIR_P) $(DESTDIR)$(libexecdir)/$(PACKAGE)
        for f in $(LIBBINFILES); do \
-               $(INSTALL) $$f $(DESTDIR)$(libdir)/$(PACKAGE)/`basename $$f`; \
+               $(INSTALL) $$f $(DESTDIR)$(libexecdir)/$(PACKAGE)/`basename $$f`; \
        done
 
 # uninstall
@@ -303,7 +304,7 @@ uninstall: $(UNINSTALL_TARGETS)
                $(RM) $(DESTDIR)$(bindir)/`basename $$f`; \
        done
        for f in $(LIBBINFILES); do \
-               $(RM) $(DESTDIR)$(libdir)/$(PACKAGE)/`basename $$f`; \
+               $(RM) $(DESTDIR)$(libexecdir)/$(PACKAGE)/`basename $$f`; \
        done
 
 # distclean