X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/a78a56205860ca2bbe9f26f03c27ff34b8c49406..c40544fdbbfd762bed24b65d96d9d1ca0bdec3f7:/debian/rules diff --git a/debian/rules b/debian/rules index c11698c..53dc486 100755 --- a/debian/rules +++ b/debian/rules @@ -53,9 +53,10 @@ FAKEROOT=fakeroot # run if building from a checkout rather than a tarball. build: @if test ! -f configure; then \ - echo ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\ - ./prepare ${CONFIGURE} ${CONFIGURE_EXTRA};\ - elif test ! -f config.status; then \ + echo ./prepare;\ + ./prepare;\ + fi + @if test ! -f config.status; then \ echo ./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\ ./configure ${CONFIGURE} ${CONFIGURE_EXTRA};\ else\ @@ -104,8 +105,6 @@ pkg-disorder: build $(INSTALL_DATA) CHANGES README debian/README.Debian \ BUGS README.* \ debian/disorder/usr/share/doc/disorder/. - rm -f debian/disorder/usr/share/doc/disorder/README.mac - rm -f debian/disorder/usr/share/doc/disorder/README.freebsd gzip -9f debian/disorder/usr/share/doc/disorder/CHANGES \ debian/disorder/usr/share/doc/disorder/README \ debian/disorder/usr/share/doc/disorder/README.* \