View Single Post
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#3
yes i try to package a .deb whit a source files

my folder source is in /mnt/C/foldersource

so i cd /mnt/C/foldersource

i got root@ubuntu:/mnt/C/foldersource#


in s folder source i have a debian folder

and in this folder i have rule file in it

but usualy everything work very well when i make dpkg-buildpackage -tc -rfakeroot inside the source directory

but not anymore

sounds weird and i have no clue why

here my rule file

Code:
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# This file is public domain software, originally written by Joey Hess. 

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

build: build-stamp
build-stamp:
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp
	rm -f debian/preinst
	rm -f debian/postinst
	rm -f debian/postrm
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	# Add here commands to install the package into debian/<packagename>
	#$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
	cp -r $(CURDIR)/data/usr $(CURDIR)/debian/borg-startup/usr
	$(CURDIR)/gen_control_scripts.sh

# 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_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock