summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8b5e65e..ae90129 100644
--- a/Makefile
+++ b/Makefile
@@ -11,13 +11,13 @@ clean:
install: $(DESTDIR)$(SBINDIR)/autologin $(DESTDIR)$(MANDIR)/man8/autologin.8.gz
-$(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR):
+$(DESTDIR)$(SBINDIR) $(DESTDIR)$(MANDIR)/man8:
mkdir -p $@
$(DESTDIR)$(SBINDIR)/autologin: $(DESTDIR)$(SBINDIR) autologin
install -m 711 autologin $@
-$(DESTDIR)$(MANDIR)/man8/autologin.8.gz: $(DESTDIR)$(MANDIR) autologin.8
+$(DESTDIR)$(MANDIR)/man8/autologin.8.gz: $(DESTDIR)$(MANDIR)/man8 autologin.8
gzip < autologin.8 > $(DESTDIR)$(MANDIR)/man8/autologin.8.gz
GITTAG=autologin-$(shell rpm -q --specfile autologin.spec --qf '%{version}-%{release}\n' | head -n1)