우분투에서 소스를 패키징 후 패키지 설치를 했는데 changelog만 남습니다.

kjh27814의 이미지

안녕하세요.

패키징을 끝내 성공했는데 결과가 이상해서 질문 올립니다.

현재 qt로 작성한 소스를 패키징해서 그걸 설치했는데 changelog.gz라는 파일만 남아

어리둥절해서요.. 제가 rules파일을 잘못 설정했는지 (솔직히 작성하는 방법도 모르겠습니다 ㅜㅜ 다른 사이트에 있는거 제 컴퓨터에 맞게 조금씩 바꿔서 써놨거든요..)

#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess. 
#
# This version is for packages that are architecture dependent.
 
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
 
build:	build-stamp
build-stamp:
	dh_testdir
 
        # Add here commands to compile the package.
	/home/kkangji/Qt5.1.0/5.1.0/gcc_64/bin/qmake -config release
	make
 
	touch build-stamp
 
clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
 
        # Add here commands to clean up after the build process.
        #$(MAKE) clean
        #$(MAKE) distclean
 
	dh_clean
 
install:	build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
 
        # Add here commands to install the package into debian/<packagename>
	make INSTALL_ROOT=`pwd`/debian/minicam-1.0 install
 
# Build architecture-independent files here.
binary-indep:	build install
# We have nothing to do by default.
 
# Build architecture-dependent files here.
binary-arch:	build install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	#dh_installdocs
	#dh_installexamples
	dh_installman
	#dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb
 
binary:	binary-indep binary-arch
.PHONY:	build clean binary-indep binary-arch binary install 

이와 같이 작성하고

dpkg-buildpackage -rfakeroot 명령어를 통해서 패키지 파일을 만들었습니다.

dpkg -i install 패키지 로 설치도 완료 했구요.

그런데 install 지정 디렉토리로 들어가면 changelog.gz라는 파일만 자리잡고 있고

실행파일이라던지 그런건 보이질 않습니다.

이게 어찌된 일일까요 ㅜㅜ

여러분들의 도움 부탁드리겠습니다.

감사합니다.

kjh27814의 이미지

작업 환경은 12.04 LTS입니다.

QMake를 실행해서 나오는 Makefile을 소스 폴더 안에 같이 넣고 dh_make 후에

rules파일을 위와 같이 수정 후 패키징 하였습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.