Closed Begasus closed 4 years ago
On gcc2h*
Error is invoked here: https://github.com/HaikuArchives/Haiku-Radio/blob/master/Makefile#L17 Commenting it out fixes the build and things run ok (including Help in the menu)
Creating "dist" directory prior to "make" works, but I think this should be done in the Makefile (something in the line of "mkdir -p $(TARGET_DIR)"?)
Old recipe is 0.0.3-14. New about box showing 0.0.5-1. I believe it should be 0.0.4-1 for recipe and in sources.
Old recipe is 0.0.3-14. New about box showing 0.0.5-1. I believe it should be 0.0.4-1 for recipe and in sources.
Creating "dist" directory prior to "make" works, but I think this should be done in the Makefile (something in the line of "mkdir -p $(TARGET_DIR)"?)
Sounds good. I'm not a makefile expert, so I have no idea where in it is the right place to put the mkdir...
Can't seem to pinpoint it too :( but seeing the Makefile it was there from the start?
I've deleted the dist folder in my local branch to do some tests, and I've changed the .gitignore to ignore everything in the dist/ folder. All of this was done the other day, before comitting changes. Indeed, the Makefile was like that from the very beginning. So basically it seems like I've fucked up again. The "dist" folder used to be in the repo.
Nonetheless, If you start the build using the new recipe haikuporter will grab the sources, compile them and produce a perfectly working binary, packaged and everything. Somehow it's sorting this out. Which raises the question... shouldn't the Makefile be able to recreate the "dist" folder, specially considering that it's meant to hold binaries and so it shouldn't be checked on the repo?
Ok, confirmed, there's a 'mkdir -p dist' on the recipe that does the magic for haikuporter. Probably the easiest thing to do it's to recreate the 'dist' folder on the git repo and forget about it. I've just read a little bit about Makefile and I don't really want to touch that thing.
Ok, confirmed, there's a 'mkdir -p dist' on the recipe that does the magic for haikuporter. Probably the easiest thing to do it's to recreate the 'dist' folder on the git repo and forget about it. I've just read a little bit about Makefile and I don't really want to touch that thing.
Had been looking at how other Makefiles ue TARGET_DIR, but couldn't find an issue there (didn't check the builds in Terminal for them though), so yes, maybe adding the ./dist to the repo could solve the issue for creating it :+1:
On a second note (maybe could use a new ticket?), creating the package with "make package" creates a hpkg package with the icon to it, don't think it should be?
I think the "package" function in the makefile should stay. If just as an example how to do that. :)
When checking out with git and a build in Terminal I got the following error: