if [ -f Makefile -a -f config.status ]; then $(MAKE) clean; fi
find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
if [ -f Makefile -a -f config.status ]; then $(MAKE) clean; fi
find . -type f -and -name \*~ -or -name .\*~ -exec rm -f {} \;
rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
- # Ensure up-to-date versions of config.sub and config.guess
- -test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub config.sub
- -test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess config.guess
+ dh_autotools-dev_restoreconfig
dh_installdirs -p $(pkg) $(pixmap-dir)
dh_installdirs -p $(pkg) $(desktop-dir)
dh_install -p $(pkg) debian/ctsim.xpm $(pixmap-dir)
dh_install -p $(pkg) debian/ctsim.desktop $(desktop-dir)
dh_install -p $(pkg-help) docs/ctsim.htb $(ctsim-shared)
dh_install -p $(pkg-doc) docs/html $(doc-dir)
dh_installdirs -p $(pkg) $(pixmap-dir)
dh_installdirs -p $(pkg) $(desktop-dir)
dh_install -p $(pkg) debian/ctsim.xpm $(pixmap-dir)
dh_install -p $(pkg) debian/ctsim.desktop $(desktop-dir)
dh_install -p $(pkg-help) docs/ctsim.htb $(ctsim-shared)
dh_install -p $(pkg-doc) docs/html $(doc-dir)
dh_link -p $(pkg-doc) $(doc-dir)/html/$(pkg)_contents.html $(doc-dir)/html/index.html
gzip -9 docs/ctsim.pdf
dh_install -p $(pkg-doc) docs/ctsim.pdf.gz $(doc-dir)
dh_link -p $(pkg-doc) $(doc-dir)/html/$(pkg)_contents.html $(doc-dir)/html/index.html
gzip -9 docs/ctsim.pdf
dh_install -p $(pkg-doc) docs/ctsim.pdf.gz $(doc-dir)