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)
- # Add here commands to configure the package.
- ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man --datadir=$(HELPDIR) --with-ctn
+ touch configure.in && touch aclocal.m4 && touch configure
+
+ ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man --datadir=$(HELPDIR) --with-ctn -with-x
-$(MAKE) distclean
find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
-$(MAKE) distclean
find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
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
ifeq (,$(findstring i386,$(host_arch)))
dh_installchangelogs -p $(pkg)ChangeLog
dh_strip -p $(pkg)
ifeq (,$(findstring i386,$(host_arch)))
dh_installchangelogs -p $(pkg)ChangeLog
dh_strip -p $(pkg)