From bbbf555a9bc3d46a0502d4a2e4963a1abf834879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Fri, 1 May 2020 15:36:54 +0300 Subject: Makefile: preserve timestamps when installing files --- Makefile | 6 +++--- 1 file 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):' < $< > $@ -- cgit v1.2.1