mirror of https://github.com/toreanderson/clatd
Merge pull request #47 from DanielG/fix-makefile
Fix Makefile for distros
This commit is contained in:
commit
b93a5526a5
4
Makefile
4
Makefile
|
|
@ -7,9 +7,11 @@ DNF_OR_YUM:=$(shell which dnf || which yum)
|
||||||
SYSTEMCTL:=$(shell which systemctl)
|
SYSTEMCTL:=$(shell which systemctl)
|
||||||
TAYGA:=$(shell which tayga)
|
TAYGA:=$(shell which tayga)
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# Install the main script
|
# Install the main script
|
||||||
install -m0755 clatd $(DESTDIR)$(PREFIX)/sbin/clatd
|
install -D -m0755 clatd $(DESTDIR)$(PREFIX)/sbin/clatd
|
||||||
# Install manual page if pod2man is installed
|
# Install manual page if pod2man is installed
|
||||||
pod2man --name clatd --center "clatd - a CLAT implementation for Linux" --section 8 README.pod $(DESTDIR)$(PREFIX)/share/man/man8/clatd.8 && gzip -f9 $(DESTDIR)$(PREFIX)/share/man/man8/clatd.8 || echo "pod2man is required to generate manual page"
|
pod2man --name clatd --center "clatd - a CLAT implementation for Linux" --section 8 README.pod $(DESTDIR)$(PREFIX)/share/man/man8/clatd.8 && gzip -f9 $(DESTDIR)$(PREFIX)/share/man/man8/clatd.8 || echo "pod2man is required to generate manual page"
|
||||||
# Install systemd service file if applicable for this system
|
# Install systemd service file if applicable for this system
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue