[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CDBS and DESTDIR



>>>>> "Nelson" == Nelson A de Oliveira <n3150nao@bol.com.br> writes:

Nelson> #!/usr/bin/make -f

Nelson> DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
Nelson> DEB_DESTDIR = $(CURDIR)/debian/gff2aplot
Nelson> DEB_MAKE_CLEAN_TARGET    := clean
Nelson> DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) prefix=$(DEB_DESTDIR)

Nelson> include /usr/share/cdbs/1/rules/simple-patchsys.mk
Nelson> include /usr/share/cdbs/1/rules/debhelper.mk
Nelson> include /usr/share/cdbs/1/class/makefile.mk
Nelson> include /usr/share/cdbs/1/class/perlmodule.mk

You should set your variables *after* your includes.  e.g. perlmodule.mk
includes perlmodule-vars.mk, which re-sets DEB_MAKE_INSTALL_TARGET.

BTW, you don't have include makefile.mk if you include perlmodule.mk,
since perlmodule.mk automatically includes makefile.mk.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.



Reply to: