diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-01-14 17:21:23 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-01-14 17:21:23 +0000 |
commit | 7d1adebf214f8282e2b920fd17e763efa4c62dfc (patch) | |
tree | c533540b49a029c444bff082f77942866b83a465 /Makefile | |
parent | ec08777e8291289acec374fa7b91ad3bb4ee1a4f (diff) | |
download | multiarch-utils-7d1adebf214f8282e2b920fd17e763efa4c62dfc.tar multiarch-utils-7d1adebf214f8282e2b920fd17e763efa4c62dfc.tar.gz multiarch-utils-7d1adebf214f8282e2b920fd17e763efa4c62dfc.tar.bz2 multiarch-utils-7d1adebf214f8282e2b920fd17e763efa4c62dfc.tar.xz multiarch-utils-7d1adebf214f8282e2b920fd17e763efa4c62dfc.zip |
new files and fix paths
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -10,10 +10,12 @@ prefix = /usr bindir = $(prefix)/bin includedir = $(prefix)/include -BINARIES = mkmultiarch multiarch-platform multiarch-dispatch +RPM_MACRO_FILES = macros.multiarch +RPM_BIN_FILES = mkmultiarch +BINARIES = multiarch-platform multiarch-dispatch INCLUDES = multiarch-dispatch.h OTHER_FILES = Makefile multiarch-utils.spec ChangeLog -FILES = $(BINARIES) $(INCLUDES) $(OTHER_FILES) +FILES = $(RPM_MACRO_FILES) $(RPM_BIN_FILES) $(BINARIES) $(INCLUDES) $(OTHER_FILES) PACKAGE = multiarch-utils VERSION := $(shell rpm -q --qf %{VERSION} --specfile $(PACKAGE).spec) @@ -29,10 +31,14 @@ clean: cleandist rm -f *~ install: + -mkdir -p $(DESTDIR)/etc/rpm + install -m644 $(RPM_MACRO_FILES) $(DESTDIR)/etc/rpm/ + -mkdir -p $(DESTDIR)$(prefix)/lib/rpm + install -m755 $(RPM_BIN_FILES) $(DESTDIR)$(prefix)/lib/rpm/ -mkdir -p $(DESTDIR)$(bindir) - cp -p $(BINARIES) $(DESTDIR)$(bindir) + install -m755 $(BINARIES) $(DESTDIR)$(bindir)/ -mkdir -p $(DESTDIR)$(includedir) - cp -p $(INCLUDES) $(DESTDIR)$(includedir) + install -m644 $(INCLUDES) $(DESTDIR)$(includedir)/ # rules to build a test rpm |