@HAVE_WXWINDOWS_TRUE@EXTRA_DIRS3 = src
@HAVE_WXWINDOWS_FALSE@EXTRA_DIRS3 =
-SUBDIRS = $(EXTRA_DIRS1) $(EXTRA_DIRS2) libctsupport libctsim man doc html cgi-bin include $(EXTRA_DIRS3) tools helical
+SUBDIRS = $(EXTRA_DIRS1) $(EXTRA_DIRS2) man doc libctsupport libctsim html cgi-bin include $(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
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
TAR = tar
GZIP_ENV = --best
-DIST_SUBDIRS = getopt libctgraphics libctsupport libctsim man doc html \
+DIST_SUBDIRS = getopt libctgraphics man doc libctsupport libctsim html \
cgi-bin include src tools helical
all: all-redirect
.SUFFIXES:
build-stamp: configure-stamp
dh_testdir
-
# Add here commands to compile the package.
$(MAKE)
- #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.1
-
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
-
# Add here commands to clean up after the build process.
-$(MAKE) distclean
find . -type f -and -name *~ -or -name .*~ -exec rm -f {} \;
rm -f debian/ctsim.postinst.* debian/ctsim.prerm.*
-
dh_clean
install: build
# Add here commands to install the package into debian/ctsim.
# install ${INSTALLDIRFLAGS}
${MAKE} install
- cp -a doc/html $(DESTDIR)/usr/share/doc/${PKG}
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
# dh_installdebconf
-# dh_installdocs
+ dh_installdocs doc/html
dh_installexamples tools/sample-ctsim.sh helical/sample-helical.sh
# dh_installmenu
# dh_installlogrotate
wxconfig = @wxconfig@
wxlibs = @wxlibs@
-docs = ctsim.tex ctsim.bib texhelp.sty psbox.tex logo.eps logo.gif ctsim-sgp.tex ctsim-concepts.tex ctsim-gui.tex ctsim-install.tex ctsim-textui.tex ctsim-web.tex alphacalc.eps alphacalc.gif divergent.eps divergent.gif equiangular.eps equiangular.gif equilinear.eps equilinear.gif scangeometry.eps scangeometry.gif tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim.bib ctsim-latex.bib ctsim-tex2rtf.bib
+docs = ctsim.tex texhelp.sty psbox.tex logo.eps logo.gif ctsim-sgp.tex ctsim-concepts.tex ctsim-gui.tex ctsim-install.tex ctsim-textui.tex ctsim-web.tex alphacalc.eps alphacalc.gif divergent.eps divergent.gif equiangular.eps equiangular.gif equilinear.eps equilinear.gif scangeometry.eps scangeometry.gif tex2rtf.ini ctsim.hpj bullet.bmp verbatim.sty mytitle.sty makeidx.sty mysober.sty fancyhea.sty ctsim.bib ctsim-latex.bib ctsim-tex2rtf.bib
-
-EXTRA_DIST = ${docs} ctsim.htb
+EXTRA_DIST = ${docs} html
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
mostlyclean distclean maintainer-clean
-ps: ctsim.ps
-ctsim.ps: ctsim.dvi
- dvips ctsim
+#ps: ctsim.ps
+#ctsim.ps: ctsim.dvi
+# dvips ctsim
dvi: ctsim.dvi
-ctsim.dvi: ctsim.tex
+ctsim.dvi: $(docs)
cp ctsim-latex.bib ctsim.bib
latex ctsim
bibtex ctsim
makeindex ctsim
latex ctsim
-winhelp: ctsim.tex
+winhelp: $(docs)
rm -f ctsim.rtf ctsim.cnt
cp ctsim-tex2rtf.bib ctsim.bib
tex2rtf ctsim.tex ctsim.rtf -winhelp
mv CTSIM.HLP ctsim.hlp
cp ctsim.hlp ctsim.cnt ../msvc/ctsim/
-htmlhelp: ctsim.tex
+htmlhelp: $(docs)
rm -f ctsim*.html ctsim.hhp ctsim.hhc ctsim.hhk ctsim.zip
cp ctsim-tex2rtf.bib ctsim.bib
tex2rtf ctsim.tex ctsim.html -html
cp ctsim.htb ../msvc/ctsim/.
cp ctsim.htb ../src/.
-html:
+html: $(docs)
rm -f ctsim*.html ctsim.hhp ctsim.hhc ctsim.hhk ctsim.zip
cp ctsim-tex2rtf.bib ctsim.bib
tex2rtf ctsim.tex ctsim.html -html
cd ${DEBDIR}
dpkg-buildpackage -rfakeroot -kkevin@b9.com #-tc -b
cd ..
-
+rm -r ${DEBDIR}
lintian ${DEBPKG}_${VERSION}-*.changes
mkdir -p /usr/local/share/Packages/${DEBPKG}
-# mv ${DEBPKG}_${VERSION}* /usr/local/share/Packages/${DEBPKG}
+mv ${DEBPKG}_${VERSION}* /usr/local/share/Packages/${DEBPKG}
cd ${TOPDIR}
exit 0