Opened 8 years ago

Closed 8 years ago

#652 closed bug (not a bug)

clean directories before installing headers

Reported by: lorenz@… Owned by: somebody
Priority: minor Milestone: Singular-spielwiese
Component: dontKnow Version: 4-0-0
Keywords: Cc:


The make install target should clean out some directories before installing, maybe there is even an automake option to do that?

Recently stairc.h was moved from GBEngine to combinatorics but installing the updated source to the same prefix preserves the old header:

$ find prefix-singular-test/ -name stairc.h

Because of this we did not notice that we had to update our interface. And code using libsingular might still use the old header but the new library which could be incompatible.

Change History (1)

comment:1 Changed 8 years ago by hannes

Resolution: not a bug
Status: newclosed

"make uninstall" does this: it clean all files "make install" installed.

Include: you should include libsingular.h (instead of single internal files) which takes care of changes in the interface.

Note: See TracTickets for help on using tickets.