- $(INSTALL) $(INSTALLFLAGS) debian/ctsim.xpm $(prefix)/usr/X11R6/include/X11/pixmaps
- $(INSTALL) $(INSTALLFLAGS) $(shell echo docs/html/*) $(DOCDIR)/html
- ln -sf $(pkg)_contents.html $(DOCDIR)/html/index.html
- $(INSTALL) $(INSTALLFLAGS) docs/ctsim.pdf $(DOCDIR)
- GZIP=-9 gzip $(DOCDIR)/ctsim.pdf
-
-# Build architecture-independent files here.
+ 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)
+ gunzip docs/ctsim.pdf.gz
+ chmod +x helical/*.sh tools/*.sh
+
+# Pass -i to all debhelper commands in this target to reduce clutter.