aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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):' < $< > $@