From 92c558c7749377b1c83f5e6af7f455f60b2fc677 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 18 Jul 2016 10:43:16 -0400 Subject: Makefile: improve rule for `pbs` --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') 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}' -- cgit v1.2.3-54-g00ecf