Makefile: update installation paths after usr/bin/sbin rootfs merge
This commit is contained in:
parent
ceafdd97e4
commit
62d4d51238
23
Makefile
23
Makefile
@ -1,24 +1,25 @@
|
|||||||
# Makefile for postplug
|
# Makefile for postplug
|
||||||
# Copyright (C) 2004-2015 by Silvan Calarco <silvan.calarco@qilinux.it>
|
# Copyright (C) 2004-2024 by Silvan Calarco <silvan.calarco@qilinux.it>
|
||||||
# Copyright (C) 2004-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
# Copyright (C) 2004-2007 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
|
||||||
include VERSION
|
include VERSION
|
||||||
|
|
||||||
PACKAGE = postplug
|
PACKAGE = postplug
|
||||||
|
|
||||||
prefix = /usr
|
prefix := /usr
|
||||||
exec_prefix = $(prefix)
|
exec_prefix := $(prefix)
|
||||||
sysconfdir = /etc
|
sysconfdir := /etc
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libdir := $(prefix)/lib
|
libdir := $(prefix)/lib
|
||||||
sbindir = $(exec_prefix)/sbin
|
sbindir := $(bindir)
|
||||||
sbin = /sbin
|
sbin := $(bindir)
|
||||||
mandir = $(prefix)/share/man
|
mandir = $(prefix)/share/man
|
||||||
datadir = $(prefix)/share
|
datadir = $(prefix)/share
|
||||||
initrddir = $(sysconfdir)/rc.d/init.d
|
|
||||||
logrotatedir = $(sysconfdir)/logrotate.d/
|
logrotatedir = $(sysconfdir)/logrotate.d/
|
||||||
sysconfigdir= $(sysconfdir)/sysconfig
|
sysconfigdir= $(sysconfdir)/sysconfig
|
||||||
systemdunitdir = /usr/lib/systemd/system
|
systemdunitdir := $(prefix)/lib/systemd/system
|
||||||
|
udevdir := $(prefix)/lib/udev
|
||||||
|
udevrulesdir := $(udevdir)/rules.d
|
||||||
localesdir = $(datadir)/locale
|
localesdir = $(datadir)/locale
|
||||||
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
@ -94,9 +95,9 @@ install-plugins: $(pck_plugins)
|
|||||||
|
|
||||||
install-udev-files:
|
install-udev-files:
|
||||||
@echo "installing udev files..."
|
@echo "installing udev files..."
|
||||||
@$(INSTALL_DIR) $(DESTDIR)/lib/udev/rules.d
|
@$(INSTALL_DIR) $(DESTDIR)$(udevrulesdir)
|
||||||
$(INSTALL_SCRIPT) udev/android_usb $(DESTDIR)/lib/udev/android_usb
|
$(INSTALL_SCRIPT) udev/android_usb $(DESTDIR)$(udevdir)/android_usb
|
||||||
$(INSTALL_DATA) udev/76-android_usb.rules $(DESTDIR)/lib/udev/rules.d/76-android_usb.rules
|
$(INSTALL_DATA) udev/76-android_usb.rules $(DESTDIR)$(udevrulesdir)/76-android_usb.rules
|
||||||
|
|
||||||
install-sysconfig: $(pck_sysconfig)
|
install-sysconfig: $(pck_sysconfig)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
|
@$(INSTALL_DIR) $(DESTDIR)$(sysconfigdir)
|
||||||
|
Loading…
Reference in New Issue
Block a user