chiark / gitweb /
fix source-depends
authoraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sun, 20 Sep 1998 23:43:04 +0000 (23:43 +0000)
committeraph <aph@313b444b-1b9f-4f58-a734-7bb04f332e8d>
Sun, 20 Sep 1998 23:43:04 +0000 (23:43 +0000)
fix dependancy for build

git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@653 313b444b-1b9f-4f58-a734-7bb04f332e8d

debian/rules

index 6d1d1ee..dd057ab 100755 (executable)
@@ -33,13 +33,14 @@ source-depends:
        @set -e                                                         ;\
        for dep in $(SRC_DEPENDS); do                                   \
            echo "checking if package \`$$dep' is installed..."         ;\
-           dpkg --get-selections | grep "$$dep[[:space:]]\+install" || \
+           dpkg --get-selections | grep "$$dep\W\+install" ||  \
                exit 1                                                  ;\
        done
        @echo "all source-depends seem to be installed, good"
 
-build: source-depends
+build: developers-reference.sgml
        $(checkdir)
+       ./debian/rules source-depends
        rm -f version.ent
        echo "<!entity version \"$(DEB_VERSION)\">" >> version.ent
        echo "<!entity date    \"$(DATE)\">"        >> version.ent