chiark / gitweb /
dynamically generate the TOC in the package description from developers-reference...
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sun, 12 Sep 1999 01:33:46 +0000 (01:33 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sun, 12 Sep 1999 01:33:46 +0000 (01:33 +0000)
git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@840 313b444b-1b9f-4f58-a734-7bb04f332e8d

debian/changelog
debian/control
debian/rules

index 9c3790e496390a11718ddbf762591c6c9ff1302c..4bedc9652e000599aedc04b4f457a1dd94271c3b 100644 (file)
@@ -5,8 +5,11 @@ developers-reference (2.7.1) unstable; urgency=low
     PGPv2 or v5 insofar as possible; recommend use of DSA keys rather than
     RSA
   * Sec. "Maintaining Your Public Key": remove PGP-centric stuff
+  * developers-reference.sgml: re-enable RCS variables in CVS sources
+  * debian/control,rules: dynamically generate the TOC in the package
+    description from developers-reference.sgml
 
- -- Adam Di Carlo <aph@debian.org>  Sat, 11 Sep 1999 16:20:32 -0400
+ -- Adam Di Carlo <aph@debian.org>  Sat, 11 Sep 1999 21:22:10 -0400
 
 developers-reference (2.7.0) unstable; urgency=low
 
index ba749bb9fc3e0b2c70823c97bdb0c58e6e1ea8cd..a3632405525d7000bd4aff8d5b042f246b505d4b 100644 (file)
@@ -12,8 +12,3 @@ Description: Debian Developer's Reference
  .
  Table of Contents:
  .
-      1 Applying to Become a Maintainer 
-      2 Internet Servers 
-      3 The Debian Archive
-      4 Package uploads
-      5 Handling bug reports
index 516a3e6208d1c467ac03e672be5e3d883ce5312e..a24215d7299a128136f89c40ada83a854fdb7fb9 100755 (executable)
@@ -86,8 +86,11 @@ binary-indep:        build
        sh -n debian/postinst
        sh -n debian/prerm
 #       install the control files
-       $(install_script) debian/control debian/postinst debian/prerm   \
-               $(prefix)/DEBIAN/
+       $(install_script) debian/postinst debian/prerm  $(prefix)/DEBIAN/
+       # be tricky about putting the TOC sections into the description of the package
+       cp debian/control debian/control.out
+       perl -ne '/^\d+\.\s/ && print "    $$_";' < developers-reference.txt >> debian/control.out
+       $(install_file) debian/control.out $(prefix)/DEBIAN/control
 
 #       compress docdir (policy)       
        find $(docdir) -type f \( -size +4k -or -iname "change*" \)     \