Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3661

Provide alternative debian/rules with "full" functionality

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.1.0-rc1
    • Remote Linux
    • None

      Current debian/rules is a somewhat hacked version that expects the actual build to happen outside the execution of 'rules'. I suggest that the wizard would also generate another file (rules.scratchbox or whatever) that could be copied over the default rules file when building the package in "normal" way.

      This would have the following modifications:

      build-stamp: configure-stamp
      dh_testdir

      1. Add here commands to compile the package.
        qmake PREFIX=/usr
        $(MAKE)
        #docbook-to-man debian/player.sgml > player.1

      touch $@

      (I added qmake)

      clean:
      dh_testdir
      dh_testroot
      rm -f build-stamp configure-stamp

      1. Add here commands to clean up after the build process.
        -$(MAKE) clean

      dh_clean

      (I added - before clean)

      binary-arch: build install

      ...

      1. dh_makeshlibs
        dh_installdeb
        dh_shlibdeps

      (I removed comment from before dh_makeshlibs)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            vivainio Ville Vainio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes