From 1660e7dd61ae9858a5d582ce76e5124d1b7bb005 Mon Sep 17 00:00:00 2001 From: Alexey Gladkov Date: Thu, 16 Dec 2021 21:50:03 +0300 Subject: ALT: Add DISTRO=ALT to makefile --- src/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 1b368dc..cb44fcd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -65,6 +65,14 @@ BIN += mountpoint MAN1 += mountpoint.1 endif +ifeq ($(DISTRO),ALT) +BIN += mountpoint +SBIN += bootlogd +USRBIN += wall +MAN1 += mountpoint.1 wall.1 +MAN8 += bootlogd.8 +endif + ID = $(shell id -u) BIN_OWNER = root BIN_GROUP = root @@ -208,7 +216,8 @@ install: all ln -sf halt $(ROOT)/sbin/reboot ln -sf halt $(ROOT)/sbin/poweroff ln -sf init $(ROOT)/sbin/telinit - ln -sf /sbin/killall5 $(ROOT)/bin/pidof + ln -sf killall5 $(ROOT)/sbin/pidof + ln -sf ../sbin/pidof $(ROOT)/bin/pidof if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ ln -sf last $(ROOT)/usr/bin/lastb; \ fi -- 2.25.4