chiark / gitweb /
making PDF now, not PS; deal with new debiandoc-sgml output naming
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sat, 3 Apr 1999 21:15:11 +0000 (21:15 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sat, 3 Apr 1999 21:15:11 +0000 (21:15 +0000)
git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@803 313b444b-1b9f-4f58-a734-7bb04f332e8d

debian/rules

index 6f7d080..e9ca858 100755 (executable)
@@ -44,21 +44,21 @@ build:      developers-reference.sgml
        rm -f version.ent
        echo "<!entity version \"$(DEB_VERSION)\">" >> version.ent
        echo "<!entity date    \"$(DATE)\">"        >> version.ent
-       nsgmls -wall -s -E20 developers-reference.sgml  # check SGML syntax
-       debiandoc2html developers-reference.sgml
-       debiandoc2text developers-reference.sgml
-       debiandoc2ps -pletter -1 developers-reference.sgml
+       nsgmls -wall -s -E20 $^         # check SGML syntax
+       debiandoc2html $^
+       debiandoc2text $^
+       debiandoc2latex2epdf $^ # should be -p letter, but oh well
        touch build
 
 clean:
        $(checkdir)
        rm -f build
        rm -rf developers-reference.html
-       rm -f developers-reference.text*
-       rm -f developers-reference.ps
-       rm -f developers-reference.lout* lout.li
-       rm -f developers-reference.sasp*
-       rm -f version.ent
+       rm -f developers-reference.txt* developers-reference.ps \
+         developers-reference.pdf developers-reference.lout* lout.li   \
+         developers-reference.sasp* developers-reference.tex           \
+         developers-reference.aux developers-reference.toc             \
+         developers-reference.idx version.ent
        rm -f `find . -name "*~"`
        rm -rf $(prefix)
        rm -f debian/files* core debian/substvars
@@ -73,12 +73,16 @@ binary-indep:       build
        $(make_directory) $(docdir)/developers-reference.html
        $(install_file) developers-reference.html/*                     \
                $(docdir)/developers-reference.html/
-       $(install_file) developers-reference.text $(docdir)
+       $(install_file) developers-reference.txt $(docdir)
+       $(install_file) developers-reference.pdf $(docdir)
        $(install_file) developers-reference.sgml version.ent $(docdir)
        $(install_file) debian/copyright $(docdir)
        $(install_file) debian/changelog $(docdir)
        $(install_file) developers-reference.desc $(docbasedir)/$(package)
 
+       $(install_file) constitution.*.html $(docdir)
+       $(install_file) debian-constitution.desc $(docbasedir)/debian-constitution
+
 #       make sure control files are good
        sh -n debian/postinst
        sh -n debian/prerm
@@ -95,16 +99,15 @@ binary-indep:       build
        dpkg --build $(prefix) ..
 
 #       some extra-package files
-       $(install_file) developers-reference.ps ../
-       $(compress) ../developers-reference.ps
-       dpkg-distaddfile -fdebian/files developers-reference.ps.gz byhand -
+       $(install_file) developers-reference.pdf ../
+       dpkg-distaddfile -fdebian/files developers-reference.pdf byhand -
        GZIP=-9v tar czf ../developers-reference.html.tar.gz            \
                developers-reference.html
        dpkg-distaddfile -fdebian/files developers-reference.html.tar.gz\
                byhand -
-       $(install_file) developers-reference.text ..
-       $(compress) developers-reference.text
-       dpkg-distaddfile -fdebian/files developers-reference.text.gz byhand -
+       $(install_file) developers-reference.txt ..
+       $(compress) ../developers-reference.txt
+       dpkg-distaddfile -fdebian/files developers-reference.txt.gz byhand -
 
 binary-arch:   build
 # There are no architecture-dependent files to be uploaded