From 5bf16cd24ecf63e61ca1ccdccdf22a4d90872e94 Mon Sep 17 00:00:00 2001 From: Nova Date: Wed, 1 Sep 2021 21:20:50 +0000 Subject: [PATCH] Forgot a very silly detail there : 2 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bf56334..13b1770 100644 --- a/Makefile +++ b/Makefile @@ -16,12 +16,12 @@ doc: setnet.8 groff -m mdoc -T html setnet.8 > setnet.8.html install: - install -m0644 setnetrc $(SYSCONFDIR)/setnetrc + install -m0644 setnetrc $(DESTDIR)$(SYSCONFDIR)/setnetrc install -m0755 setnet-$(DHCPC) $(DESTDIR)$(PREFIX)/bin/setnet install -m0644 setnet.8.gz $(DESTDIR)$(MANDIR)/man8/setnet.8.gz - install -m0644 wpa_setnet.conf $(SYSCONFDIR)/wpa_supplicant/wpa_setnet.conf + install -m0644 wpa_setnet.conf $(DESTDIR)$(SYSCONFDIR)/wpa_supplicant/wpa_setnet.conf uninstall: - rm -v $(SYSCONFDIR)/setnetrc + rm -v $(DESTDIR)$(SYSCONFDIR)/setnetrc rm -v $(DESTDIR)$(PREFIX)/bin/setnet rm -v $(DESTDIR)$(MANDIR)/man8/setnet.8.gz - rm -v $(SYSCONFDIR)/wpa_supplicant/wpa_setnet.conf + rm -v $(DESTDIR)$(SYSCONFDIR)/wpa_supplicant/wpa_setnet.conf