]> git.saurik.com Git - apt.git/blobdiff - debian/rules
Typo in the package description. Closes: #60230
[apt.git] / debian / rules
index e81a00302e7349a9c50740145be158630f0adfbe..05dbc460376bd810f07fdbefedadce0b8f3b8e21 100755 (executable)
@@ -2,7 +2,7 @@
 # Made with the aid of dh_make, by Craig Small
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.16 1999/04/18 06:51:35 jgg Exp $
+# $Id: rules,v 1.19 1999/12/07 07:38:19 jgg Exp $
 
 
 # For the deb builder, you can run 'debian/rules cvs-build', which does all
@@ -53,7 +53,7 @@ build-stamp: configure
 #      cd build && CXXFLAGS="-g -Wall -D_POSIX_C_SOURCE=199309" ../configure --disable-nls --disable-static --prefix=/usr
 #      cd build && make all-hdr
 #      cd build && make -s
-       
+
        # Add here commands to compile the package.
        make
        touch build-stamp
@@ -78,16 +78,18 @@ libapt-pkg-doc: build debian/shlibs.local
        dh_installdirs -p$@
 #
 # libapt-pkg-doc install
-#
-       -cp -a $(BLD)/docs/cache* $(BLD)/docs/design* $(BLD)/docs/dpkg-tech* \
-         $(BLD)/docs/files* $(BLD)/docs/method* debian/libapt-pkg-doc/usr/doc/apt/
-       cp -a debian/libapt-pkg-doc.dhelp debian/libapt-pkg-doc/usr/doc/libapt-pkg-doc/.dhelp
-       dh_installdocs -p$@
+#      
+       dh_installdocs -p$@ $(BLD)/docs/cache* $(BLD)/docs/design* $(BLD)/docs/dpkg-tech* \
+                            $(BLD)/docs/files* $(BLD)/docs/method*
+                           
+       -cp -a debian/libapt-pkg-doc.dhelp debian/libapt-pkg-doc/usr/doc/libapt-pkg-doc/.dhelp
+       -cp -a debian/libapt-pkg-doc.dhelp debian/libapt-pkg-doc/usr/share/doc/libapt-pkg-doc/.dhelp
+       
        dh_installexamples -p$@
 #      dh_installmenu -p$@
 #      dh_installinit -p$@
 #      dh_installcron -p$@
-       dh_installmanpages -p$@
+#      dh_installmanpages -p$@
 
 #      dh_undocumented -p$@
        dh_installchangelogs -p$@
@@ -121,35 +123,24 @@ apt: build debian/shlibs.local
        cp $(BLD)/bin/methods/* debian/tmp/usr/lib/apt/methods/
 
        cp $(BLD)/scripts/dselect/* debian/tmp/usr/lib/dpkg/methods/apt/
-#      cp debian/sources.list debian/tmp/etc/apt/
 
-       # Copy the users guide  
-       -cp $(BLD)/docs/guide.text debian/tmp/usr/doc/apt/users-guide.txt
-       -cp -a $(BLD)/docs/guide.html/* debian/tmp/usr/doc/apt/users-guide.html/
+       # Copy the guides
+       dh_installdocs -p$@ $(BLD)/docs/guide.text $(BLD)/docs/guide.html \
+                      $(BLD)/docs/offline.text $(BLD)/docs/offline.html
        
-       # Copy the offline guide        
-       -cp $(BLD)/docs/offline.text debian/tmp/usr/doc/apt/offline.txt
-       -cp -a $(BLD)/docs/offline.html/* debian/tmp/usr/doc/apt/offline.html/
-       
-       cp -a debian/dhelp debian/tmp/usr/doc/apt/.dhelp
+       # One or the other..
+       -cp -a debian/dhelp debian/tmp/usr/doc/apt/.dhelp
+       -cp -a debian/dhelp debian/tmp/usr/share/doc/apt/.dhelp 
        
 #      head -n 500 ChangeLog > debian/ChangeLog
 
-
-
-       dh_installdocs -p$@
        dh_installexamples -papt $(BLD)/docs/examples/*
-#      dh_installmenu -papt
-#      dh_installinit -papt
-#      dh_installcron -papt
        dh_installmanpages -p$@
 
-#      dh_undocumented -papt
        dh_installchangelogs -p$@
        dh_strip -p$@
        dh_compress -p$@
        dh_fixperms -p$@
-#      dh_suidregister -p$@
        dh_installdeb -p$@
        LD_LIBRARY_PATH=`pwd`/debian/tmp/usr/lib dh_shlibdeps -papt
        dh_gencontrol -p$@ -u -Vlibapt-pkg:major=${LIBAPT_MAJOR}
@@ -165,14 +156,15 @@ libapt-pkg-dev: build debian/shlibs.local
 #
 # libapt-pkg-dev install
 #
-       ln -s libapt-pkg.so.${LIBAPT_MAJOR} debian/libapt-pkg-dev/usr/lib/libapt-pkg.so
+       cp -a $(BLD)/bin/libapt-pkg.so debian/libapt-pkg-dev/usr/lib/
+       #ln -s libapt-pkg.so.${LIBAPT_MAJOR} debian/libapt-pkg-dev/usr/lib/libapt-pkg.so
        cp $(BLD)/include/apt-pkg/*.h debian/libapt-pkg-dev/usr/include/apt-pkg/
 
        dh_installdocs -p$@
 #      dh_installmenu -papt
 #      dh_installinit -papt
 #      dh_installcron -papt
-       dh_installmanpages -p$@
+#      dh_installmanpages -p$@
 
        dh_installchangelogs -p$@
        dh_strip -p$@