2008-08-19 19:30:36 +00:00
|
|
|
# Installation directories.
|
2011-09-19 20:38:33 +00:00
|
|
|
PREFIX ?= $(DESTDIR)/usr
|
2008-08-19 19:30:36 +00:00
|
|
|
BINDIR ?= $(PREFIX)/bin
|
2012-01-27 19:01:00 +00:00
|
|
|
USRSBINDIR ?= $(PREFIX)/sbin
|
|
|
|
SBINDIR ?= $(DESTDIR)/sbin
|
2008-08-19 19:30:36 +00:00
|
|
|
MANDIR ?= $(PREFIX)/share/man
|
2012-08-22 10:42:35 +00:00
|
|
|
LOCALEDIR ?= $(PREFIX)/share/locale
|
2008-08-19 19:30:36 +00:00
|
|
|
|
2016-10-31 17:31:01 +00:00
|
|
|
.PHONY: all
|
|
|
|
all: fixfiles
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
install: all
|
|
|
|
-mkdir -p $(BINDIR)
|
2012-01-27 19:01:00 +00:00
|
|
|
install -m 755 fixfiles $(SBINDIR)
|
2008-08-19 19:30:36 +00:00
|
|
|
-mkdir -p $(MANDIR)/man8
|
|
|
|
install -m 644 fixfiles.8 $(MANDIR)/man8/
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
indent:
|
|
|
|
|
|
|
|
relabel:
|