fix: Makefile install commands

This commit is contained in:
ngn 2024-08-21 07:06:04 +03:00
parent 1c7b083a5b
commit 6a3c7acc92

View File

@ -42,9 +42,7 @@ locale/mirp.pot: $(SRCS)
xgettext -k_ -c $^ -o $@ xgettext -k_ -c $^ -o $@
install: install:
install -d -m700 $(DESTDIR)/etc/mirp install -Dm755 dist/mirp $(DESTDIR)/$(PREFIX)/bin/mirp
install -m755 dist/mirp $(DESTDIR)/$(PREFIX)/bin/mirp
install -m600 install/config.ini $(DESTDIR)/etc/mirp/config.ini
@for po in $(PO_DIRS) ; do \ @for po in $(PO_DIRS) ; do \
echo "installing locale: $$po/mirp.mo" ; \ echo "installing locale: $$po/mirp.mo" ; \
mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \ mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \