summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2015-07-10 11:54:47 -0400
committerNathan Straz <nstraz@redhat.com>2015-07-10 11:59:29 -0400
commitd954e76e7d52d6b72aa1f0373efa6603a14bb90c (patch)
tree41f896673d0179e345da70ba6b8bf45c77c19713
parentc91f5a6eb8aebf5b063cde8ef50ab52307ea762f (diff)
downloadqarsh-master.zip
qarsh-master.tar.gz
qarsh-master.tar.xz
[make] Fix installed permissionsHEADmaster
systemd doesn't like the service and socket files being executable. Fix the permissions on the man pages while we're at it. Perserve time stamps of all files too.
-rw-r--r--Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 428c6f7..6d85912 100644
--- a/Makefile
+++ b/Makefile
@@ -16,20 +16,20 @@ btimed: btimed.c
btimec: btimec.c btime.c
install: all
- install -D qacp $(INSTROOT)/usr/bin/qacp
- install -D qarsh $(INSTROOT)/usr/bin/qarsh
- install -D qarshd $(INSTROOT)/usr/sbin/qarshd
- install -D qarshd.socket $(INSTROOT)/usr/lib/systemd/system/qarshd.socket
- install -D qarshd@.service $(INSTROOT)/usr/lib/systemd/system/qarshd@.service
- install -D btimed $(INSTROOT)/usr/sbin/btimed
- install -D btimed.socket $(INSTROOT)/usr/lib/systemd/system/btimed.socket
- install -D btimed.service $(INSTROOT)/usr/lib/systemd/system/btimed.service
- install -D btimec $(INSTROOT)/usr/bin/btimec
- install -D qarsh.1 $(INSTROOT)/usr/share/man/man1/qarsh.1
- install -D qacp.1 $(INSTROOT)/usr/share/man/man1/qacp.1
- install -D btimec.1 $(INSTROOT)/usr/share/man/man1/btimec.1
- install -D qarshd.8 $(INSTROOT)/usr/share/man/man8/qarshd.8
- install -D btimed.8 $(INSTROOT)/usr/share/man/man8/btimed.8
+ install -Dp qacp $(INSTROOT)/usr/bin/qacp
+ install -Dp qarsh $(INSTROOT)/usr/bin/qarsh
+ install -Dp qarshd $(INSTROOT)/usr/sbin/qarshd
+ install -Dpm 0644 qarshd.socket $(INSTROOT)/usr/lib/systemd/system/qarshd.socket
+ install -Dpm 0644 qarshd@.service $(INSTROOT)/usr/lib/systemd/system/qarshd@.service
+ install -Dp btimed $(INSTROOT)/usr/sbin/btimed
+ install -Dpm 0644 btimed.socket $(INSTROOT)/usr/lib/systemd/system/btimed.socket
+ install -Dpm 0644 btimed.service $(INSTROOT)/usr/lib/systemd/system/btimed.service
+ install -Dp btimec $(INSTROOT)/usr/bin/btimec
+ install -Dpm 0644 qarsh.1 $(INSTROOT)/usr/share/man/man1/qarsh.1
+ install -Dpm 0644 qacp.1 $(INSTROOT)/usr/share/man/man1/qacp.1
+ install -Dpm 0644 btimec.1 $(INSTROOT)/usr/share/man/man1/btimec.1
+ install -Dpm 0644 qarshd.8 $(INSTROOT)/usr/share/man/man8/qarshd.8
+ install -Dpm 0644 btimed.8 $(INSTROOT)/usr/share/man/man8/btimed.8
clean:
$(RM) $(TARGETS)