Installation files for systemd
This commit is contained in:
parent
1f182df473
commit
a58c671eab
4 changed files with 43 additions and 0 deletions
18
Makefile
Normal file
18
Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
DESTDIR := /usr/local
|
||||
|
||||
all:
|
||||
@echo Nothing to be done for 'all'
|
||||
@echo 'Try `sudo make install`'
|
||||
|
||||
install: \
|
||||
$(DESTDIR)/bin/issue_generator \
|
||||
$(DESTDIR)/lib/issue_generator/issue_generator.py \
|
||||
$(DESTDIR)/lib/issue_generator/config.py \
|
||||
$(DESTDIR)/lib/issue_generator/_secrets.py
|
||||
|
||||
$(DESTDIR)/bin/issue_generator: issue_generator
|
||||
install -D $< $@
|
||||
|
||||
$(DESTDIR)/lib/issue_generator/%.py: %.py
|
||||
install -D -m644 $< $@
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue