dh가 프로그램을 빌드하지 않는 deb 패키지 만들기

dh가 프로그램을 빌드하지 않는 deb 패키지 만들기

나는 내 응용프로그램을 위한 데비안 패키지를 만들기 위해 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

관련 정보