diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-05 21:21:17 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-05 21:21:17 (EDT) |
commit | 2668fafb0dfff6fa331c7a0e9d7af88c596842fd (patch) | |
tree | 6991912a71c161b7743a5ca4f5ffed490a28b51c /Makefile.in | |
parent | f5e51958a7568878f41cbe999a20a5fd2fc9e608 (diff) |
Change lib macros and targets to pkglib ones.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Makefile.in b/Makefile.in index b5a85eb..91b1019 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,7 +53,7 @@ include $(srcdir)/src/local.mk include $(srcdir)/lib/local.mk bin = $(src_bin) -lib = $(lib_lib) +pkglib = $(lib_pkglib) distdir = $(package_name)-$(package_version) distfiles = \ @@ -72,23 +72,23 @@ all: all-exec @cd locale && $(MAKE) $(MACROS) all @printf 'Making manual pages...\n' @cd man && $(MAKE) $(MACROS) all -all-exec: all-bin all-lib +all-exec: all-bin all-pkglib all-bin: $(bin) -all-lib: $(lib) +all-pkglib: $(pkglib) clean: clean-exec @printf 'Cleaning locales...\n' @cd locale && $(MAKE) $(MACROS) clean @printf 'Cleaning manual pages...\n' @cd man && $(MAKE) $(MACROS) clean -clean-exec: clean-bin clean-lib +clean-exec: clean-bin clean-pkglib clean-bin: @for f in $(bin); do \ printf ' RM %s\n' "$${f}"; \ rm -f "$${f}"; \ done -clean-lib: - @for f in $(lib); do \ +clean-pkglib: + @for f in $(pkglib); do \ printf ' RM %s\n' "$${f}"; \ rm -f "$${f}"; \ done @@ -98,7 +98,7 @@ install: all install-exec @cd locale && $(MAKE) $(MACROS) install @printf 'Installing manual pages...\n' @cd man && $(MAKE) $(MACROS) install -install-exec: install-bin install-lib +install-exec: install-bin install-pkglib install-bin: @mkdir -p '$(DESTDIR)/$(bindir)' @for f in $(bin); do \ @@ -109,15 +109,15 @@ install-bin: cp "$${f}" "$(DESTDIR)/$(bindir)/$${ff}"; \ chmod 755 "$(DESTDIR)/$(bindir)/$${ff}"; \ done -install-lib: - @mkdir -p '$(DESTDIR)/$(libdir)' - @for f in $(lib); do \ +install-pkglib: + @mkdir -p '$(DESTDIR)/$(pkglibdir)' + @for f in $(pkglib); do \ printf ' INSTALL %s\n' "$${f}"; \ ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ [ "x$${ff%/?*}" != "x$${ff}" ] && \ - mkdir -p "$(DESTDIR)/$(libdir)/$${ff%/?*}"; \ - cp "$${f}" "$(DESTDIR)/$(libdir)/$${ff}"; \ - chmod 644 "$(DESTDIR)/$(libdir)/$${ff}"; \ + mkdir -p "$(DESTDIR)/$(pkglibdir)/$${ff%/?*}"; \ + cp "$${f}" "$(DESTDIR)/$(pkglibdir)/$${ff}"; \ + chmod 644 "$(DESTDIR)/$(pkglibdir)/$${ff}"; \ done uninstall: uninstall-exec @@ -125,18 +125,18 @@ uninstall: uninstall-exec @cd locale && $(MAKE) $(MACROS) uninstall @printf 'Uninstalling manual pages...\n' @cd man && $(MAKE) $(MACROS) uninstall -uninstall-exec: uninstall-bin uninstall-lib +uninstall-exec: uninstall-bin uninstall-pkglib uninstall-bin: @for f in $(bin); do \ printf ' RM %s\n' "$${f}"; \ ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ rm -f "$(DESTDIR)/$(bindir)/$${ff}"; \ done -uninstall-lib: - @for f in $(lib); do \ +uninstall-pkglib: + @for f in $(pkglib); do \ printf ' RM %s\n' "$${f}"; \ ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \ - rm -f "$(DESTDIR)/$(libdir)/$${ff}"; \ + rm -f "$(DESTDIR)/$(pkglibdir)/$${ff}"; \ done $(distdir): |