View Single Post
Elleo's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#64
Originally Posted by ZogG View Post
It wouldn't build in OBS as i was told because of
$(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/imgrup install
where it needs to be
$(MAKE) INSTALL_ROOT="/usr/src/packages/BUILD"/debian/imgrup install
what s not default by QtCreator and wouldn't build (i'll try to make this dir localy and give to my user permissions now and report later)
I use "$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/eyrie install" in my package rules file and OBS doesn't have any problem with it so I'm not sure why it'd cause issues for you, unless perhaps the $CURDIR variable isn't being populated for some reason (so it'd end up trying to install to /debian/imgrup)?

Originally Posted by ZogG View Post
As well if i comment $(MAKE) clean it would leave .o files in tar.gz and if i uncomment back there would be no src files at all there.
"make clean" shouldn't be deleting source files, it sounds like there's something wrong with your Makefile there (or with your .pro file which generates the Makefile if you're using qmake). But it also shouldn't be installing .o files into your install dir so they shouldn't end up in the package in first place regardless of whether you cleaned or not.

I'm not especially familiar with QtCreator so I'm not sure how exactly it sets everything up but I've be happy to take a look at your original source files if you'd like?
 

The Following User Says Thank You to Elleo For This Useful Post: