Просмотр исходного кода

* debian/rules: fix symlink creaton for /usr/share/doc/dpkg-dev -> dpkg,
also compress the info and ps files for internals in dpkg-doc

Ben Collins лет назад: 27
Родитель
Сommit
0eefcacb92
2 измененных файлов с 9 добавлено и 2 удалено
  1. 5 0
      ChangeLog
  2. 4 2
      debian/rules

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+Mon Oct 25 08:42:52 EDT 1999 Ben Collins <bcollins.debian.org>
+
+  * debian/rules: fix symlink creaton for /usr/share/doc/dpkg-dev -> dpkg,
+    also compress the info and ps files for internals in dpkg-doc
+
 Mon Oct 25 06:50:17 EDT 1999 Ben Collins <bcollins.debian.org>
 
   * main/processarc.c: fixes calculation of package filename display (the

+ 4 - 2
debian/rules

@@ -46,7 +46,8 @@ binary-trees: build
 	$(checkdir)
 	-$(RM) -r debian/tmp-{main,dev}
 	install -d debian/tmp-{main,dev}/{DEBIAN,etc,usr/share/doc/dpkg}
-	install -d debian/tmp-dev/usr/{lib/dpkg,share/doc/dpkg-dev,sbin,bin}
+	install -d debian/tmp-dev/usr/{lib/dpkg,share/doc/dpkg,sbin,bin}
+	ln -s dpkg debian/tmp-dev/usr/share/doc/dpkg-dev
 	install -d debian/tmp-dev/usr/share/man/{ja/man1,man1,ja/man8,man8}
 	install -d debian/tmp-dev/usr/share/emacs/site-lisp/dpkg-dev
 	install -d debian/tmp-main/sbin
@@ -96,7 +97,6 @@ binary-trees: build
 	gzip -9vf debian/tmp-main/usr/share/doc/dpkg/changelog*
 	cp debian/copyright debian/tmp-main/usr/share/doc/dpkg/copyright
 	chmod -x debian/tmp-main/usr/lib/libdpkg.*
-	ln -s dpkg debian/tmp-dev/usr/share/doc/dpkg-dev
 	set -e; for f in \
  usr/share/doc/dpkg/{changelog.manuals.gz} \
  usr/bin/dpkg-{source,genchanges,gencontrol,shlibdeps,buildpackage,parsechangelog} \
@@ -132,6 +132,8 @@ binary-indep: binary-trees
 		datadir=$(DIR)/debian/tmp-doc/usr/share \
 		mandir=$(DIR)/debian/tmp-doc/usr/share/man \
 		infodir=$(DIR)/debian/tmp-doc/usr/share/info
+	gzip -9vf $(DIR)/debian/tmp-doc/usr/share/info/*
+	gzip -9vf $(DIR)/debian/tmp-doc/usr/share/doc/dpkg-doc/internals.ps
 	install -m644 $(DIR)/debian/dpkg-internals $(DIR)/debian/tmp-doc/usr/share/doc-base
 	dpkg-deb --build debian/tmp-doc ..
 	set -e;\