2
0
Fork 0

Installation files for systemd

This commit is contained in:
Carlos Galindo 2026-05-31 01:04:38 +02:00
commit a58c671eab
4 changed files with 43 additions and 0 deletions

18
Makefile Normal file
View 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 $< $@