Opened 4 weeks ago

Last modified 4 weeks ago

#1755 new defect

Make "make clean" remove chicken-config.h

Reported by: Mario Domenech Goulart Owned by:
Priority: minor Milestone: someday
Component: build system Version: 5.2.0
Keywords: make clean, chicken-config.h Cc:
Estimated difficulty: easy

Description

The fact that make clean doesn't remove chicken-config.h is a recurrent source of tricky-to-debug installation issues.

This ticket is about making make clean remove chicken-config.h. Since preserving chicken-config.h can be useful for developers, it'd be good to have a variable to indicate that chicken-config.h is to be preserved when processing the clean target (e.g., PRESERVE_CONFIG).

Change History (1)

comment:1 Changed 4 weeks ago by Mario Domenech Goulart

Suggestion by Lassi Kortela (received via e-mail):

Or a separate make devclean target which preserves the config, and
make clean would do a devclean plus some more things like removing
the config? That way no variables would be required, though it's easy
to type make clean out of habit since it's a standard target.

Note: See TracTickets for help on using tickets.