Opened 10 years ago

#1357 new Enhancement

use standard targets for unix build process

Reported by: Christian Beer Owned by: romw
Priority: Minor Milestone: Undetermined
Component: Client - Build Version:
Keywords: Cc:

Description

Following the GNU convention for makefile targets I ran some tests with a fresh copy of the boinc-v2 source. I identified several files that can be ignored and get deleted by clean/distclean and files that should be deleted by clean/distclean but are not.

Here is a short summary of the convention:

Files created by ./_autosetup need to be deleted in case of a system upgrade because most likely the tools tested are updated. Those files are not deleted via Makefile because it is a step before Makefile's exist. Maybe adding an option to _autosetup that clears the files before running the tests could help in this case.

What's important for building is that after running "make clean" we should have the same files as after running "./configure" and after running "make distclean" we should have the same files as after "./_autosetup".

The attached textfile contains all those files in gitignore style and surely some of them should go into .gitignore.

Could someone who wrote the _autosetup and/or build stuff enhance clean and distclean please?

Attachments (1)

make-test.txt (2.6 KB) - added by Christian Beer 10 years ago.

Download all attachments as: .zip

Change History (1)

Changed 10 years ago by Christian Beer

Attachment: make-test.txt added
Note: See TracTickets for help on using tickets.