make(install): edit systemd service Exec path to include $PERFIX (#104)

* edit systemd service exec path at install time to make it reflect binary install location

* move removal of intermediary service file to clean recipe

* move sed-generated service file to dist
This commit is contained in:
Martin Bogdanov
2026-02-05 18:58:30 +02:00
committed by GitHub
parent bdad1fa3f8
commit dba9a719d5
2 changed files with 5 additions and 2 deletions

View File

@@ -36,7 +36,9 @@ lidm: $(OBJ)
$(CC) -o $@ $^ $(ALLFLAGS) $(LIBS) $(LDFLAGS)
clean:
rm -f $(ODIR)/*.o lidm
rm -f \
$(ODIR)/* \
lidm
install: lidm
mkdir -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${PREFIX}/share/man/man{1,5}