]> www.infradead.org Git - users/dhowells/kafs-client.git/commitdiff
Add /afs directory
authorDavid Howells <dhowells@redhat.com>
Fri, 9 Feb 2018 10:52:24 +0000 (10:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 9 Feb 2018 10:52:24 +0000 (10:52 +0000)
Makefile
redhat/kafs-client.spec

index b88d46ec9cc01b72c64a655b5d68cf3e556b009e..15c08aaa724a9f29c565a1afc852ca1c44de5830 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,11 +47,12 @@ aklog: aklog.c Makefile
 # Install everything
 #
 ###############################################################################
-MAN1   := $(DESTDIR)$(MANDIR)/man1
+MAN1   := $(MANDIR)/man1
 
 install: all
        $(INSTALL) -D -m 0755 aklog $(DESTDIR)$(BINDIR)/aklog
-       $(INSTALL) -D -m 0644 aklog.1 $(MAN1)/aklog.1
+       $(INSTALL) -D -m 0644 aklog.1 $(DESTDIR)$(MAN1)/aklog.1
+       mkdir -m755 $(DESTDIR)/afs
 
 ###############################################################################
 #
index 86cf6704abb07c627e5b20cbfb5c57031b3cab9a..d5655529cd1d5699b07dfd668ab1f92f5c63408e 100644 (file)
@@ -63,6 +63,7 @@ install -m 644 afs.mount %{buildroot}%{_unitdir}/afs.mount
 
 %files
 %doc README
+/afs
 %{_bindir}/*
 %{_unitdir}/*
 %{_mandir}/*/*