-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)
-pixmap-dir := usr/X11R6/include/X11/pixmaps
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- touch configure-stamp
-
-
-build-arch: configure-stamp build-arch-stamp
-build-arch-stamp:
- dh_testdir
- # Add here commands to compile the package.
- dh_installdirs -p $(pkg-help) $(ctsim-shared)
- ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man --datadir=$(HELPDIR) --with-ctn
- $(MAKE) all
- ${MAKE} install
- ${MAKE} clean
- ./configure --prefix=$(DESTDIR-P4)/usr --mandir=$(DESTDIR-P4)/usr/share/man --datadir=$(HELPDIR) --with-ctn --mcpu=pentium4
- $(MAKE) all
- ${MAKE} install
- ${MAKE} clean
- ./configure --prefix=$(DESTDIR-P4)/usr --mandir=$(DESTDIR-P4)/usr/share/man --datadir=$(HELPDIR) --with-ctn --mcpu=athlon
- $(MAKE) all
- ${MAKE} install
- touch build-arch-stamp
-
-build-indep: configure-stamp build-indep-stamp
-build-indep-stamp:
- dh_testdir
- # Add here command to compile/build the arch indep package.
- # It's ok not to do anything here, if you don't need to build
- # anything for this package.
- #/usr/bin/docbook-to-man debian/#PACKAGE#.sgml > #PACKAGE#.1