dh がプログラムをビルドしない deb パッケージを作成する

dh がプログラムをビルドしない deb パッケージを作成する

私は私のアプリケーション用のDebianパッケージを作成するためにPBuilderユーティリティを使用しようとしています。私のプログラムのビルドプロセスは非常に具体的なので、dhを使用することはできません。コンパイル時に通常の "./configure" の代わりに qmake を実行し、make を実行する必要があります。だから私自身の「ルール」スクリプトを作成しましたが、pdebuildを実行するとファイルがコンパイルされ、目的のパスにインストールされますが、最終的にエラーが発生します。

dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute

私のアプリケーションはQtagと呼ばれ、これが私のルールファイルです。

#!/usr/bin/make -f

clean:
    cd src; qmake
    cd src; make clean
    rm -f src/qtag
    rm -f src/Makefile

build:
    cd src; qmake
    cd src; make

build-arch: build

build-indep: build

binary-arch: build-arch
    mkdir -p $$(pwd)/debian/qtag/usr/bin
    cp src/qtag $$(pwd)/debian/qtag/usr/bin

binary-indep: build-indep
    mkdir -p $$(pwd)/debian/qtag/usr/share/pixmaps
    mkdir -p $$(pwd)/debian/qtag/usr/share/applications
    cp src/images/Qtag.png $$(pwd)/debian/qtag/usr/share/pixmaps
    cp src/qtag.desktop $$(pwd)/debian/qtag/usr/share/applications

binary: binary-arch binary-indep

これは私の「制御」ファイルです。

Source: qtag
Section: unknown
Priority: optional
Maintainer: Karel Patlejch <[email protected]>
Build-Depends: debhelper (>= 9), qt5-default, libtag1-dev
Standards-Version: 3.9.5
Homepage: http://github.com/amethystant/qtag

Package: qtag
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libtag1-vanilla, libqt5core5a
Description: Audio tag editor
 Qtag is a Qt-based audio tag editor. Supports ID3, Xiph Comments and more.

私はPBuilderとDebian 8を使用しています。

これはpdebuildの完全な出力です:https://drive.google.com/file/d/0B1mZWkkv-WWpMDBwbVNwRGV4ZVE/view?usp=sharing

ベストアンサー1

おすすめ記事