aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-05-01 15:36:54 +0300
committerJani Välimaa <wally@mageia.org>2020-05-01 15:36:54 +0300
commitbbbf555a9bc3d46a0502d4a2e4963a1abf834879 (patch)
tree0f3ced64b12d88e65918c1bbfd8c35da74be9983 /Makefile
parent496d75bb93a191b34bb2a5727afa4a1162a9cd58 (diff)
downloadspec-helper-bbbf555a9bc3d46a0502d4a2e4963a1abf834879.tar
spec-helper-bbbf555a9bc3d46a0502d4a2e4963a1abf834879.tar.gz
spec-helper-bbbf555a9bc3d46a0502d4a2e4963a1abf834879.tar.bz2
spec-helper-bbbf555a9bc3d46a0502d4a2e4963a1abf834879.tar.xz
spec-helper-bbbf555a9bc3d46a0502d4a2e4963a1abf834879.zip
Makefile: preserve timestamps when installing files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 12f3315..21b464e 100644
--- a/Makefile
+++ b/Makefile
@@ -32,11 +32,11 @@ all:
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(bindir)
- install -m 755 $(BIN_FILES) $(DESTDIR)$(bindir)
+ install -p -m 755 $(BIN_FILES) $(DESTDIR)$(bindir)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
- install -m 755 $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
+ install -p -m 755 $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
install -d -m 755 $(DESTDIR)/$(rpmmacrodir)
- install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrodir)
+ install -p -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrodir)
spec-helper.macros: spec-helper.macros.in
sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@