--- src/Makefile.orig 2004-12-21 22:08:42.607088800 -0500 +++ src/Makefile 2004-12-21 22:12:56.409504968 -0500 @@ -10,5 +10,3 @@ -CC = gcc -CFLAGS = -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE -LDFLAGS = -s +CFLAGS += -Wall -D_GNU_SOURCE STATIC = @@ -33,2 +31,9 @@ +ifeq ($(DISTRO),Gentoo) +SBIN += sulogin bootlogd +USRBIN += utmpdump wall +MAN1 += wall.1 +MAN8 += sulogin.8 bootlogd.8 +endif + ifeq ($(DISTRO),Debian) @@ -112,2 +117,5 @@ install: + $(INSTALL) -d $(ROOT)/bin $(ROOT)/sbin $(ROOT)/usr/bin \ + $(ROOT)/usr/include $(ROOT)/$(MANDIR)/man1 $(ROOT)/$(MANDIR)/man5 \ + $(ROOT)/$(MANDIR)/man8 for i in $(BIN); do \