aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 23e9477..5095265 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,8 @@ all: pw fixver
pw:
clean:; rm -f pw
install:; install pw $(DESTDIR)/bin/pw; \
- install pw.1 $(DESTDIR)/share/man/man1; \
- install pw-relnotes.5 $(DESTDIR)/share/man/man5
+ install -D pw.1 $(DESTDIR)/share/man/man1/pw.1; \
+ install -D pw-relnotes.5 $(DESTDIR)/share/man/man5/pw-relnotes.5
define FIXVER
sed -e '/^\.TH/s/Version [^"]\+/Version $(PW_VERSION)/' $1 > pw.tmp ;
cmp -s $1 pw.tmp && rm pw.tmp || mv pw.tmp $1