Make canonarch dir as well as buildarch dir.
authorjbj <devnull@localhost>
Fri, 12 Mar 1999 06:00:17 +0000 (06:00 +0000)
committerjbj <devnull@localhost>
Fri, 12 Mar 1999 06:00:17 +0000 (06:00 +0000)
CVS patchset: 2883
CVS date: 1999/03/12 06:00:17

Makefile.am

index 9637ac9..d92f225 100644 (file)
@@ -60,6 +60,10 @@ install-data-local:
        @ln -s rpm/rpmpopt $(DESTDIR)/$(libdir)/rpmpopt
        @$(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/BUILD
        @$(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/RPMS/noarch
+       @case "@build_cpu@" in \
+       *86) $(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/RPMS/i386 ;;\
+       alpha*) $(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/RPMS/alpha ;;\
+       esac
        @$(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/RPMS/@build_cpu@
        @$(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/SOURCES
        @$(mkinstalldirs) $(DESTDIR)/$(prefix)/src/redhat/SPECS