- $(INSTALL) $(INSTALLFLAGS) $(shell echo docs/html/*) $(SHAREDOCDIR)/html
- ln -sf $(pkg)_contents.html $(SHAREDOCDIR)/html/index.html
- $(INSTALL) $(INSTALLFLAGS) docs/ctsim.pdf $(SHAREDOCDIR)
- GZIP=-9 gzip $(SHAREDOCDIR)/ctsim.pdf
+ dh_installdirs -p $(pkg) $(pixmap-dir)
+ dh_install -p $(pkg) debian/ctsim.xpm $(pixmap-dir)
+
+ (cd docs; tar xzf html.tar.gz)
+ 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)