[maemo-developers] Packaging images into deb
From: Guillem Jover guillem.jover at nokia.comDate: Mon Feb 4 19:17:07 EET 2008
- Previous message: Packaging images into deb
- Next message: Packaging images into deb
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, On Mon, 2008-02-04 at 10:17:12 -0500, ext Levi Bard wrote: > # Example Makefile > # The DESTDIR is important for dpkg This is not only for dpkg or Debian, this is how proper upstream build systems should behave, to ease packaging the software. It allows to install in a different directory than the one it was built for, so that you can relocate when creating the packages. > all: > > install: > mkdir -p $DESTDIR/my/image/directory > cp images/* $DESTDIR/my/image/directory > # End Makefile $DESTDIR is not going to do what you think it would, what you want is $(DESTDIR) instead. Also you might want to use install calls instead of mkdir and cp. regards, guillem
- Previous message: Packaging images into deb
- Next message: Packaging images into deb
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]