You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
622 B
16 lines
622 B
SBINDIR ?= /usr/sbin
|
|
UNITDIR ?= /lib/systemd/system
|
|
|
|
install:
|
|
mkdir -p --mode=0755 $(DESTDIR)$(SBINDIR)
|
|
install -m0755 doskast-sshd-keygen.sh $(DESTDIR)$(SBINDIR)/doskast-sshd-keygen
|
|
mkdir -p --mode=0755 $(DESTDIR)/etc/doskast
|
|
mkdir -p --mode=0700 $(DESTDIR)/etc/doskast/ssh
|
|
mkdir -p --mode=0755 $(DESTDIR)$(UNITDIR)
|
|
install -m0644 doskast-sshd.service $(DESTDIR)$(UNITDIR)
|
|
install -m0644 doskast-sshd-keygen.service $(DESTDIR)$(UNITDIR)
|
|
# nothing secret here, no need in 0600
|
|
install -m0644 doskast-sshd.conf $(DESTDIR)/etc/doskast/doskast-sshd.conf
|
|
|
|
rpm:
|
|
rpmbuild --define "_sourcedir $$PWD" -bb doskast.spec
|
|
|