dpatch

Jaromír Mikeš mira.mikes at seznam.cz
Sun Mar 15 23:14:09 UTC 2009


Hello,

despite of studying doc and How-to http://packaging-handbook.alioth.debian.org/wiki/PatchSystems/
can't get makefile patched properly.

Can somebody help me pls?

I have makefile.patch in debian/patches and also 00list there with line makefile.patch
And dpatch installed.

Problem is in debian/rules file


###########################

#export DH_VERBOSE=1

include /usr/share/dpatch/dpatch.make

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


build: build-stamp

build-stamp: $(DPATCH_STAMPFN)

build-stamp: configure-stamp 
	dh_testdir

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

	touch $@

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

	# Add here commands to clean up after the build process.
	$(MAKE)  clean

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/jnoise.
	$(MAKE)  DESTDIR=$(CURDIR)/debian/jnoise install


# Build architecture-independent files here.

###############################

With edited makefile all running well ... package is build and work.

Thanks for help

mira



More information about the pkg-multimedia-maintainers mailing list