summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ef3c4bf..94b9c30 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,9 @@ RPM_MACRO_FILES = macros.multiarch
RPM_BIN_FILES = mkmultiarch check-multiarch-files
BINARIES = multiarch-platform multiarch-dispatch
INCLUDES = multiarch-dispatch.h
+XCONFIGS = multiarch-dispatch-host.def
OTHER_FILES = Makefile multiarch-utils.spec ChangeLog
-FILES = $(RPM_MACRO_FILES) $(RPM_BIN_FILES) $(BINARIES) $(INCLUDES) $(OTHER_FILES)
+FILES = $(RPM_MACRO_FILES) $(RPM_BIN_FILES) $(BINARIES) $(INCLUDES) $(XCONFIGS) $(OTHER_FILES)
PACKAGE = multiarch-utils
VERSION := $(shell rpm -q --qf %{VERSION} --specfile $(PACKAGE).spec)
@@ -39,6 +40,8 @@ install:
install -m755 $(BINARIES) $(DESTDIR)$(bindir)/
-mkdir -p $(DESTDIR)$(includedir)
install -m644 $(INCLUDES) $(DESTDIR)$(includedir)/
+ -mkdir -p $(DESTDIR)$(prefix)/X11R6/lib/X11/config
+ install -m644 $(XCONFIGS) $(DESTDIR)$(prefix)/X11R6/lib/X11/config/
# rules to build a test rpm