summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-03-20 13:03:14 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-03-20 13:03:14 -0400
commit54d96782f2b7aa1972c56ae88089f85165fc10c6 (patch)
tree73b9e20199b99f34ccd3845fabfa0e86287f6ff4
parent13c2d38083adb72a805b94f20ebb00df4ff1043b (diff)
downloadautologin-54d96782f2b7aa1972c56ae88089f85165fc10c6.tar.gz
autologin-54d96782f2b7aa1972c56ae88089f85165fc10c6.tar.xz
autologin-54d96782f2b7aa1972c56ae88089f85165fc10c6.zip
fix install targetautologin-0.02-1
-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)