r3907: Automatic commit for debian_version_4_1_0-1
[ctsim.git] / debian / rules
index acf7720881d1fca1930b59441e1a6aacea02355a..1a14078037ea151238ed8fd506800cb35ca81111 100755 (executable)
@@ -13,7 +13,7 @@ host_arch     := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 pkg            := ctsim
 pkg-p4         := ctsim-pentium4
-pkg-p          := ctsim-pentium
+pkg-p3         := ctsim-pentium3
 pkg-athlon     := ctsim-athlon
 pkg-athlon-mp  := ctsim-athlon-mp
 pkg-help       := ctsim-help
@@ -23,7 +23,7 @@ ctsim-shared  := usr/share/ctsim
 
 prefix         := debian/$(pkg)
 prefix-p4      := debian/$(pkg-p4)
-prefix-p       := debian/$(pkg-p)
+prefix-p3      := debian/$(pkg-p3)
 prefix-athlon  := debian/$(pkg-athlon)
 prefix-athlon-mp:= debian/$(pkg-athlon-mp)
 prefix-help    := debian/$(pkg-help)
@@ -31,7 +31,7 @@ prefix-doc    := debian/$(pkg-doc)
 
 DESTDIR                := `pwd`/$(prefix)
 DESTDIR-P4     := `pwd`/$(prefix-p4)
-DESTDIR-P      := `pwd`/$(prefix-p)
+DESTDIR-P3     := `pwd`/$(prefix-p3)
 DESTDIR-ATHLON := `pwd`/$(prefix-athlon)
 DESTDIR-ATHLON-MP      := `pwd`/$(prefix-athlon-mp)
 HELPDIR                := `pwd`/$(prefix-help)/$(ctsim-shared)
@@ -89,9 +89,9 @@ install: build
        echo Host architecture is $(host_arch)
 ifneq (,$(findstring i386,$(host_arch)))
        # Building CPU-specific i386 flavors
-       # Pentium 
+       # Pentium 3
        ${MAKE} clean
-       ./configure --prefix=$(DESTDIR-P)/usr --mandir=$(DESTDIR-P)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=pentium
+       ./configure --prefix=$(DESTDIR-P3)/usr --mandir=$(DESTDIR-P3)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=pentium3
        $(MAKE) all
        ${MAKE} install
        # Pentium 4