MANDIR and SBINDIR

This commit is contained in:
DJ Lucas 2017-09-14 21:33:59 -05:00
parent adfabec5d9
commit 9f41705824

View File

@ -1,12 +1,15 @@
MANDIR=/usr/share/man
SBINDIR=/usr/sbin
all: all:
chmod 755 make-ca.sh help2man chmod 755 make-ca.sh help2man
./help2man -N ./make-ca.sh -o make-ca.sh.1 ./help2man -N ./make-ca.sh -o make-ca.sh.1
install: install:
/usr/bin/install -vdm755 $(DESTDIR)/usr/sbin /usr/bin/install -vdm755 $(DESTDIR)$(SBINDIR)
/usr/bin/install -vdm755 $(DESTDIR)/usr/share/man/man1 /usr/bin/install -vdm755 $(DESTDIR)$(MANDIR)/man1
install -vm755 make-ca.sh $(DESTDIR)/usr/sbin install -vm755 make-ca.sh $(DESTDIR)$(SBINDIR)
install -vm644 make-ca.sh.1 $(DESTDIR)/usr/share/man/man1 install -vm644 make-ca.sh.1 $(DESTDIR)$(MANDIR)/man1
.PHONY: all install .PHONY: all install