Reply
Thread Tools
Posts: 90 | Thanked: 48 times | Joined on Dec 2009 @ Montpellier, France
#1
Hi,
I've made an app using MADDE, then created a deb package. It works fine, installs fine, but when sending it to the extras-devel queue, the automatic build fails :

Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: source package is trainmee
dpkg-buildpackage: source version is 0.1
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.1
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/scratchbox/tools/bin/make clean
make[1]: Entering directory `/home/builder2/maemo-fremantle-armel-extras-devel/work/trainmee-0.1'
make[1]: *** No rule to make target `../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/linux-g++-gles2/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/builder2/maemo-fremantle-armel-extras-devel/work/trainmee-0.1'
make: [clean] Error 2 (ignored)
dh_clean 
dh_clean: Sorry, but 5 is the highest compatibility level supported by this debhelper.
make: *** [clean] Error 1
Everything in the makefile is linked to the folder where MADDE is installed on my computer... What can I do ? The Makefile is automatically generated by qmake that is in madde directory.

Here is my Makefile :
Code:
#############################################################################
# Makefile for building: build/trainmee
# Generated by qmake (2.01a) (Qt 4.5.3) on: mar. mars 30 17:28:14 2010
# Project:  qtprog.pro
# Template: app
# Command: /Users/mat/.madde/0.5/targets/fremantle-qt-0942/bin/qmake -unix -o Makefile qtprog.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -pipe -g -O0 -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -g -g -O0 -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/include/qt4/QtCore -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/include/qt4/QtNetwork -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/include/qt4/QtGui -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/include/qt4/QtDBus -I../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/include/qt4 -Ibuild -Ibuild
LINK          = g++
LFLAGS        = 
LIBS          = $(SUBLIBS)  -L/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib -Wl,-rpath-link=/usr/lib -lQtDBus -lQtGui -lQtNetwork -lQtCore -lpthread
AR            = ar cqs
RANLIB        = 
QMAKE         = /Users/mat/.madde/0.5/targets/fremantle-qt-0942/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -sf
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory

OBJECTS_DIR   = build/

####### Files

SOURCES       = src/main.cpp \
		src/mainwindow.cpp build/moc_mainwindow.cpp
OBJECTS       = build/main.o \
		build/mainwindow.o \
		build/moc_mainwindow.o
DIST          = ../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/g++.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/unix.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/linux.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/qconfig.pri \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_functions.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_config.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_pre.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/debug.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_post.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/warn_on.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/moc.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/unix/thread.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/resources.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/uic.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/yacc.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/lex.prf \
		qtprog.pro
QMAKE_TARGET  = trainmee
DESTDIR       = build/
TARGET        = build/trainmee

first: all
####### Implicit rules

.SUFFIXES: .o .c .cpp .cc .cxx .C

.cpp.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cc.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.cxx.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.C.o:
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"

.c.o:
	$(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"

####### Build rules

all: Makefile $(TARGET)

$(TARGET): build/ui_mainwindow.h $(OBJECTS)  
	@$(CHK_DIR_EXISTS) build/ || $(MKDIR) build/ 
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

Makefile: qtprog.pro  ../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/linux-g++-gles2/qmake.conf ../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/g++.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/unix.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/linux.conf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/qconfig.pri \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_functions.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_config.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_pre.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/debug.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_post.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/warn_on.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/moc.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusinterfaces.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusadaptors.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/unix/thread.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/resources.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/uic.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/yacc.prf \
		../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/lex.prf \
		/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtDBus.prl \
		/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtGui.prl \
		/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtNetwork.prl \
		/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtCore.prl
	$(QMAKE) -unix -o Makefile qtprog.pro
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/g++.conf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/unix.conf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/common/linux.conf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/qconfig.pri:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_functions.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt_config.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_pre.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/debug.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/default_post.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/warn_on.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/qt.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/moc.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusinterfaces.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/dbusadaptors.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/unix/thread.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/resources.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/uic.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/yacc.prf:
../../../.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/share/qt4/mkspecs/features/lex.prf:
/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtDBus.prl:
/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtGui.prl:
/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtNetwork.prl:
/Users/mat/.madde/0.5/sysroots/fremantle-qt-arm-sysroot-0942/usr/lib/libQtCore.prl:
qmake:  FORCE
	@$(QMAKE) -unix -o Makefile qtprog.pro

dist: 
	@$(CHK_DIR_EXISTS) build/trainmee1.0.0 || $(MKDIR) build/trainmee1.0.0 
	$(COPY_FILE) --parents $(SOURCES) $(DIST) build/trainmee1.0.0/ && $(COPY_FILE) --parents src/mainwindow.h build/trainmee1.0.0/ && $(COPY_FILE) --parents src/main.cpp src/mainwindow.cpp build/trainmee1.0.0/ && $(COPY_FILE) --parents src/mainwindow.ui build/trainmee1.0.0/ && (cd `dirname build/trainmee1.0.0` && $(TAR) trainmee1.0.0.tar trainmee1.0.0 && $(COMPRESS) trainmee1.0.0.tar) && $(MOVE) `dirname build/trainmee1.0.0`/trainmee1.0.0.tar.gz . && $(DEL_FILE) -r build/trainmee1.0.0


clean:compiler_clean 
	-$(DEL_FILE) $(OBJECTS)
	-$(DEL_FILE) *~ core *.core


####### Sub-libraries

distclean: clean
	-$(DEL_FILE) $(TARGET) 
	-$(DEL_FILE) Makefile


debian-all: debian-src debian-bin

debian-src:
	dpkg-buildpackage -S -r -us -uc -d

debian-bin:
	dpkg-buildpackage -b -r -uc -d

install: $(TARGET)
	-$(INSTALL_PROGRAM) $(TARGET) "$(DESTDIR)"/usr/bin/$(QMAKE_TARGET)

compiler_clean:
	-$(DEL_FILE) $(TARGET)

mocclean: compiler_moc_header_clean compiler_moc_source_clean

mocables: compiler_moc_header_make_all compiler_moc_source_make_all

compiler_moc_header_make_all: build/moc_mainwindow.cpp
compiler_moc_header_clean:
	-$(DEL_FILE) build/moc_mainwindow.cpp
build/moc_mainwindow.cpp: src/mainwindow.h
	/Users/mat/.madde/0.5/targets/fremantle-qt-0942/bin/moc $(DEFINES) $(INCPATH) src/mainwindow.h -o build/moc_mainwindow.cpp

compiler_dbus_interface_source_make_all:
compiler_dbus_interface_source_clean:
compiler_dbus_adaptor_source_make_all:
compiler_dbus_adaptor_source_clean:
compiler_rcc_make_all:
compiler_rcc_clean:
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
	-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_dbus_interface_header_make_all:
compiler_dbus_interface_header_clean:
compiler_dbus_interface_moc_make_all:
compiler_dbus_interface_moc_clean:
compiler_dbus_adaptor_header_make_all:
compiler_dbus_adaptor_header_clean:
compiler_dbus_adaptor_moc_make_all:
compiler_dbus_adaptor_moc_clean:
compiler_uic_make_all: build/ui_mainwindow.h
compiler_uic_clean:
	-$(DEL_FILE) build/ui_mainwindow.h
build/ui_mainwindow.h: src/mainwindow.ui
	/Users/mat/.madde/0.5/targets/fremantle-qt-0942/bin/uic src/mainwindow.ui -o build/ui_mainwindow.h

compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_uic_clean 

####### Compile

build/main.o: src/main.cpp src/mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp

build/mainwindow.o: src/mainwindow.cpp src/mainwindow.h \
		build/ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/mainwindow.o src/mainwindow.cpp

build/moc_mainwindow.o: build/moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_mainwindow.o build/moc_mainwindow.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:
__________________
Smash is the way you deal with your life, like an outcast you're smashing your strife
 
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#2
I don't think you are doing anything wrong. I think the problem lies with the autobuilder and the version of software it contains. There has been a change in the libraries for the next version of Maemo for the N900 (1.2) which is most likely affecting your build.

I'll try to dig up more info.
 
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#3
This thread might be of some help; http://lists.maemo.org/pipermail/mae...ch/025627.html
 
Posts: 190 | Thanked: 129 times | Joined on Mar 2010 @ Bavaria, Germany
#4
You should NOT include a existing makefile in your sources. The autobuilder has to create its own!

I've edited my debian/rules file for that. You could simply add "qmake-qt4 myapp.pro" in the build-stamp step. (I also added a line in the clean step: "if test -e Makefile; then $(MAKE) clean; fi")

But the others are right, the autobuilder builds with Qt for maemo which is not out for the armel platform
 
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#5
I was getting a similar error until i added the lines gri suggested. now i get this..

Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: source package is mprayertime
dpkg-buildpackage: source version is 0.1.1-1
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.1.1-1
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
if test -e Makefile; then /scratchbox/tools/bin/make clean; fi
#/scratchbox/tools/bin/make clean
dh_clean
dh_clean: Sorry, but 5 is the highest compatibility level supported by this debhelper.
make: *** [clean] Error 1
any idea how to fix it?

---------
edit:
I changed my debian/compat from 7 to 5 and now i get

Code:
TMP="/var/tmp"
TEMP="/var/tmp"
DEBIAN_FRONTEND="noninteractive"
DEBIAN_PRIORITY="critical"
DEB_BUILD_OPTIONS="parallel=4"
TMPDIR="/var/tmp"
dpkg-buildpackage: source package is mprayertime
dpkg-buildpackage: source version is 0.1.1-1
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 0.1.1-1
: Using Scratchbox tools to satisfy builddeps
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
if test -e Makefile; then /scratchbox/tools/bin/make clean; fi
make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/mprayertime-0.1.1'
Makefile:108: *** multiple target patterns.  Stop.
make[1]: Leaving directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/mprayertime-0.1.1'
make: *** [clean] Error 2
my debian/rules file:

Code:
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1





configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp
	

build-stamp: configure-stamp  
	dh_testdir

	# Add here commands to compile the package.
	qmake-qt4 mprayertime.pro
	$(MAKE)
	#docbook-to-man debian/mprayertime.sgml > mprayertime.1

	touch $@

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

	# Add here commands to clean up after the build process.
	if test -e Makefile; then $(MAKE) clean; fi
	#$(MAKE) clean
	
	dh_clean
	

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/mprayertime.
	$(MAKE) DESTDIR="$(CURDIR)"/debian/mprayertime 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_install
#	dh_installmenu
#	dh_installdebconf	
#	dh_installlogrotate
#	dh_installemacsen
#	dh_installpam
#	dh_installmime
#	dh_python
#	dh_installinit
#	dh_installcron
#	dh_installinfo
	dh_installman
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
#	dh_perl
#	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

Last edited by mohannad; 2010-04-05 at 00:55.
 
Posts: 205 | Thanked: 159 times | Joined on Oct 2009
#6
Finally got it to work. Followed this post: http://talk.maemo.org/showthread.php?t=39962
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:47.