summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5924f08..d05dba7 100644
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,7 @@ uninstall: PHONY
# actual file rules
pbs: pbs.in
- sed 's|@pbs-bindir@|$(pbs-bindir)|g' < $< > $@
- chmod 755 $@
+ < $< sed 's|@pbs-bindir@|$(pbs-bindir)|g' | install -m755 /dev/stdin $@
$(DESTDIR)$(pbs-bindir)/%: % | $(DESTDIR)$(pbs-bindir)
cp '$*' '${@D}'