prefix-athlon := debian/$(pkg-athlon)
prefix-help := debian/$(pkg-help)
prefix-doc := debian/$(pkg-doc)
DESTDIR := `pwd`/$(prefix)
DESTDIR-P4 := `pwd`/$(prefix-p4)
prefix-athlon := debian/$(pkg-athlon)
prefix-help := debian/$(pkg-help)
prefix-doc := debian/$(pkg-doc)
DESTDIR := `pwd`/$(prefix)
DESTDIR-P4 := `pwd`/$(prefix-p4)
DESTDIR-ATHLON := `pwd`/$(prefix-athlon)
HELPDIR := `pwd`/$(prefix-help)/$(ctsim-shared)
doc-dir := usr/share/doc/$(pkg-doc)
DESTDIR-ATHLON := `pwd`/$(prefix-athlon)
HELPDIR := `pwd`/$(prefix-help)/$(ctsim-shared)
doc-dir := usr/share/doc/$(pkg-doc)
echo Host architecture is $(host_arch)
ifneq (,$(findstring i386,$(host_arch)))
# Building CPU-specific i386 flavors
echo Host architecture is $(host_arch)
ifneq (,$(findstring i386,$(host_arch)))
# Building CPU-specific i386 flavors
dh_install -p $(pkg-p4) debian/ctsim.xpm $(pixmap-dir)
dh_install -p $(pkg-athlon) debian/ctsim.xpm $(pixmap-dir)
endif
dh_install -p $(pkg-p4) debian/ctsim.xpm $(pixmap-dir)
dh_install -p $(pkg-athlon) debian/ctsim.xpm $(pixmap-dir)
endif
dh_installdocs -a
dh_installexamples -p $(pkg) tools/sample-ctsim.sh helical/sample-helical.sh
ifneq (,$(findstring i386,$(host_arch)))
dh_installdocs -a
dh_installexamples -p $(pkg) tools/sample-ctsim.sh helical/sample-helical.sh
ifneq (,$(findstring i386,$(host_arch)))
dh_installexamples -p $(pkg-p4) tools/sample-ctsim.sh helical/sample-helical.sh
dh_installexamples -p $(pkg-athlon) tools/sample-ctsim.sh helical/sample-helical.sh
endif
dh_installexamples -p $(pkg-p4) tools/sample-ctsim.sh helical/sample-helical.sh
dh_installexamples -p $(pkg-athlon) tools/sample-ctsim.sh helical/sample-helical.sh
endif