aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-05-01 15:34:20 +0300
committerJani Välimaa <wally@mageia.org>2020-05-01 15:34:20 +0300
commit496d75bb93a191b34bb2a5727afa4a1162a9cd58 (patch)
treeb1c4b14ef71a4e15d0b0dbb11a9462a7125fbe72 /Makefile
parentaab671f95cfbed2c8c07bba7d342a31772b230aa (diff)
downloadspec-helper-496d75bb93a191b34bb2a5727afa4a1162a9cd58.tar
spec-helper-496d75bb93a191b34bb2a5727afa4a1162a9cd58.tar.gz
spec-helper-496d75bb93a191b34bb2a5727afa4a1162a9cd58.tar.bz2
spec-helper-496d75bb93a191b34bb2a5727afa4a1162a9cd58.tar.xz
spec-helper-496d75bb93a191b34bb2a5727afa4a1162a9cd58.zip
Makefile: fix rpmmacrodir location
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fc74d4f..12f3315 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ TEST_VERBOSE = 0
bindir = /usr/bin
pkgdatadir = /usr/share/$(PACKAGE)
-rpmmacrosdir = /etc/rpm/macros.d
+rpmmacrodir = /usr/lib/rpm/macros.d
all:
@echo "use make install or make dist"
@@ -35,8 +35,8 @@ install: $(MACROS_FILES)
install -m 755 $(BIN_FILES) $(DESTDIR)$(bindir)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
install -m 755 $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
- install -d -m 755 $(DESTDIR)/$(rpmmacrosdir)
- install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
+ install -d -m 755 $(DESTDIR)/$(rpmmacrodir)
+ install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrodir)
spec-helper.macros: spec-helper.macros.in
sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@