EXTRA_DIRS3=
endif
-SUBDIRS=man doc libctsupport libctsim html cgi-bin include $(EXTRA_DIRS1) $(EXTRA_DIRS2) $(EXTRA_DIRS3) tools helical
+SUBDIRS=man libctsupport libctsim html cgi-bin include $(EXTRA_DIRS1) $(EXTRA_DIRS2) $(EXTRA_DIRS3) tools helical
EXTRA_DIST=acsite.m4 make.bat msvc/ctsim.dsw msvc/ctsimtext/ctsimtext.dsp msvc/libctsim/libctsim.dsp msvc/ctsim/ctsim.dsp
+install-data-hook:
+ install -g root -o root -m 0644 docs/ctsim.htb $(datadir)
ctsim (3.5.0-1) unstable; urgency=low
- * Initial Release.
+ * Initial Release. (closes: #145724)
-- Kevin Rosenberg <kevin@rosenberg.net> Thu, 25 Apr 2002 19:13:41 -0600
Source: ctsim
Section: science
Priority: optional
-Maintainer: Kevin Rosenberg <kevin@rosenberg.net>
+Maintainer: Barak A. Pearlmutter <bap@debian.org>
Build-Depends: debhelper (>> 3.0.0), wxwin2.2-headers, fftw-dev, libreadline4-dev, xlibmesa-dev, libwxgtk2.2-dev , glutg3-dev
Standards-Version: 3.5.2
dh_installdirs
# Add here commands to install the package into debian/ctsim.
${MAKE} install
- $(INSTALL) $(INSTALLFLAGS) $(shell echo doc/html/*) $(SHAREDOCDIR)/html
+ $(INSTALL) $(INSTALLFLAGS) $(shell echo docs/html/*) $(SHAREDOCDIR)/html
ln -sf $(pkg)_contents.html $(SHAREDOCDIR)/html/index.html
- $(INSTALL) $(INSTALLFLAGS) doc/ctsim.pdf $(SHAREDOCDIR)
+ $(INSTALL) $(INSTALLFLAGS) docs/ctsim.pdf $(SHAREDOCDIR)
GZIP=-9 gzip $(SHAREDOCDIR)/ctsim.pdf
# Build architecture-independent files here.
# Remove junk from distribution dir
pushd ${DISTDIR}
make distclean
-popd
-rm -f `find ${DISTDIR} -type f -name .cvsignore`
-rm -rf `find ${DISTDIR} -type d -name CVS`
-rm -f `find ${DISTDIR} -type f -name '*~' -or -name '.*~' -or \
+rm -f `find . -type f -name .cvsignore`
+rm -rf `find . -type d -name CVS`
+rm -f `find . -type f -name '*~' -or -name '.*~' -or \
-name '.#*' -or -name '#*#' -or -name '*.fig' -or -name '*.psd'`
-
-rm -rf ${DISTDIR}/images ${DISTDIR}/copy ${DISTDIR}/make-dist.sh
+rm -rf images copy make-dist.sh make-doc.sh doc
+popd
# Create original distribution archives
rm -rf ${DISTDIR}/debian
--- /dev/null
+#!/bin/sh
+
+pushd doc
+make all
+popd
+rm -rf docs
+mkdir docs
+mv doc/html docs
+mv doc/ctsim.htb docs
+mv doc/ctsim.pdf docs
+mv doc/ctsim.ps docs
+pushd doc
+make clean
+popd